summaryrefslogtreecommitdiffstats
path: root/target-cris/translate.c
diff options
context:
space:
mode:
authorRichard Henderson2015-07-24 20:49:53 +0200
committerRichard Henderson2015-08-24 20:10:54 +0200
commitecc7b3aa71f5fdcf9ee87e74ca811d988282641d (patch)
treee7d4d1a8a7ad7d751b462e747a254a49c6816c77 /target-cris/translate.c
parenttcg: Split trunc_shr_i32 opcode into extr[lh]_i64_i32 (diff)
downloadqemu-ecc7b3aa71f5fdcf9ee87e74ca811d988282641d.tar.gz
qemu-ecc7b3aa71f5fdcf9ee87e74ca811d988282641d.tar.xz
qemu-ecc7b3aa71f5fdcf9ee87e74ca811d988282641d.zip
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-cris/translate.c')
-rw-r--r--target-cris/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c
index 3e59601eb4..5699826c8b 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -2604,9 +2604,9 @@ static int dec_movem_mr(CPUCRISState *env, DisasContext *dc)
tcg_temp_free(addr);
for (i = 0; i < (nr >> 1); i++) {
- tcg_gen_trunc_i64_i32(cpu_R[i * 2], tmp[i]);
+ tcg_gen_extrl_i64_i32(cpu_R[i * 2], tmp[i]);
tcg_gen_shri_i64(tmp[i], tmp[i], 32);
- tcg_gen_trunc_i64_i32(cpu_R[i * 2 + 1], tmp[i]);
+ tcg_gen_extrl_i64_i32(cpu_R[i * 2 + 1], tmp[i]);
tcg_temp_free_i64(tmp[i]);
}
if (nr & 1) {