commit | 3ea9be33400f14305565a9a094cb6031c07183d5 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Wed Apr 05 18:43:47 2023 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Sun Apr 23 08:46:45 2023 +0100 |
tree | 7c96b5cba009ec1ff6efd18d3977e86c7f0b17e6 | |
parent | 4745b156b8412ef12af32bd474fee70c25940950 [diff] |
tcg/riscv: Conditionalize tcg_out_exts_i32_i64 Since TCG_TYPE_I32 values are kept sign-extended in registers, via "w" instructions, we don't need to extend if the register matches. This is already relied upon by comparisons. Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>