target-s390x: Fix duplicate call of tcg_temp_new_i64
authorStefan Weil <weil@mail.berlios.de>
Fri, 27 May 2011 17:03:26 +0000 (19:03 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 3 Jun 2011 11:34:01 +0000 (13:34 +0200)
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>
target-s390x/translate.c

index 865a9dfa530fb349ec67a159acd66da6d05144c6..141a72f0e8a98dd78a2e78bca46499457402bb1c 100644 (file)
@@ -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]);