This patch series improve the MIPS TCG backend by detecting the available instructions at runtime, and by enabling the corresponding ops.
v1 -> v2: - Detect MIPS32 detection by using MUL instead of MULT v2 -> v3 - Only try to detect for MIPS32R2 instructions if MIPS32 instructions have been detected - Inline bswap16/bswap32/ext8s/ext16s ops to avoid checking again if MIPS32R2 instructions are available. Aurelien Jarno (3): tcg/mips: detect available host instructions at runtime tcg/mips: inline bswap16/bswap32 ops tcg/mips: only enable ext8s/ext16s ops on MIPS32R2 tcg/mips/tcg-target.c | 224 ++++++++++++++++++++++++++++++++----------------- tcg/mips/tcg-target.h | 54 +++++++----- 2 files changed, 178 insertions(+), 100 deletions(-) -- 1.7.10.4
