mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
tcg: Remove tcg_gen_trunc_i64_i32
Replacing it with tcg_gen_extrl_i64_i32. Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
609ad70562
commit
ecc7b3aa71
14 changed files with 112 additions and 117 deletions
|
@ -2007,7 +2007,7 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
|
|||
REQUIRE_REG_31(rb);
|
||||
t32 = tcg_temp_new_i32();
|
||||
va = load_gpr(ctx, ra);
|
||||
tcg_gen_trunc_i64_i32(t32, va);
|
||||
tcg_gen_extrl_i64_i32(t32, va);
|
||||
gen_helper_memory_to_s(vc, t32);
|
||||
tcg_temp_free_i32(t32);
|
||||
break;
|
||||
|
@ -2027,7 +2027,7 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
|
|||
REQUIRE_REG_31(rb);
|
||||
t32 = tcg_temp_new_i32();
|
||||
va = load_gpr(ctx, ra);
|
||||
tcg_gen_trunc_i64_i32(t32, va);
|
||||
tcg_gen_extrl_i64_i32(t32, va);
|
||||
gen_helper_memory_to_f(vc, t32);
|
||||
tcg_temp_free_i32(t32);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue