tcg/mips: Conditionalize tcg_out_exts_i32_i64
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 6 Apr 2023 01:40:44 +0000 (18:40 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 May 2023 20:05:45 +0000 (13:05 -0700)
commitc6a98619f7179a3564008ea9c9b3672821a6812f
tree791332cd970b2be16e1fcafa4b578687ccb5b1fc
parent341ac0a05509de103f26e8819b5fecea887f5413
tcg/mips: Conditionalize tcg_out_exts_i32_i64

Since TCG_TYPE_I32 values are kept sign-extended in registers, we need not
extend if the register matches.  This is already relied upon by comparisons.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/mips/tcg-target.c.inc