diff options
author | Richard Henderson <rth@twiddle.net> | 2015-07-24 11:49:53 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-08-24 11:10:54 -0700 |
commit | ecc7b3aa71f5fdcf9ee87e74ca811d988282641d (patch) | |
tree | e7d4d1a8a7ad7d751b462e747a254a49c6816c77 /target-alpha | |
parent | 609ad70562793937257c89d07bf7c1370b9fc9aa (diff) | |
download | qemu-ecc7b3aa71f5fdcf9ee87e74ca811d988282641d.zip qemu-ecc7b3aa71f5fdcf9ee87e74ca811d988282641d.tar.gz qemu-ecc7b3aa71f5fdcf9ee87e74ca811d988282641d.tar.bz2 |
tcg: Remove tcg_gen_trunc_i64_i32
Replacing it with tcg_gen_extrl_i64_i32.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha')
-rw-r--r-- | target-alpha/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 2849ede..1fd9c3b 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -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; |