Skip to content
Snippets Groups Projects
Commit 3ea9be33 authored by Richard Henderson's avatar Richard Henderson
Browse files

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: default avatarDaniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 4745b156
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment