aboutsummaryrefslogtreecommitdiff
path: root/target-s390x
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-05-27 19:03:26 +0200
committerAlexander Graf <agraf@suse.de>2011-06-03 13:34:01 +0200
commit640239b26d6120724f6c1ec99f64ddb1df9314c3 (patch)
tree5adacec6d034d2a04189fe0bd99900e86c2f9701 /target-s390x
parentbe82ee2aca363753888fe777215849a86f4e737c (diff)
target-s390x: Fix duplicate call of tcg_temp_new_i64
tmp2 = tcg_temp_new_i64() is already executed unconditionally, so there is no need to call it a second time for 64 bit hosts. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x')
-rw-r--r--target-s390x/translate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 865a9dfa53..141a72f0e8 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -2068,7 +2068,6 @@ do_mh:
tcg_gen_qemu_ld32u(tmp2, tmp, get_mem_index(s));
tcg_gen_trunc_i64_i32(TCGV_HIGH(regs[i]), tmp2);
#else
- tmp2 = tcg_temp_new_i64();
tcg_gen_qemu_ld32u(tmp2, tmp, get_mem_index(s));
tcg_gen_shl_i64(tmp2, tmp2, tmp4);
tcg_gen_ext32u_i64(regs[i], regs[i]);