Skip to contentSkip to conversation

[4449] compilation fix

Qemu-devel Fabrice Bellard 1 participant 1 message May 12, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4449

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4449
Author:   bellard
Date:     2008-05-12 22:55:35 +0000 (Mon, 12 May 2008)

Log Message:
-----------
compilation fix

Modified Paths:
--------------
trunk/target-i386/translate.c

Modified: trunk/target-i386/translate.c
===================================================================

target-i386/translate.c +3 -1
@@ -6860,6 +6860,8 @@
     cpu_T[0] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG1, "T0");
     cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1");
     cpu_A0 = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG3, "A0");
+#endif
+#if defined(__i386__)
     cpu_tmp1 = tcg_global_reg2_new_hack(TCG_TYPE_I64, TCG_AREG1, TCG_AREG2, "tmp1");
 #endif
 }
@@ -6955,7 +6957,7 @@
 #endif
 
     cpu_tmp0 = tcg_temp_new(TCG_TYPE_TL);
-#if TARGET_LONG_BITS > HOST_LONG_BITS
+#if !defined(__i386__)
     cpu_tmp1 = tcg_temp_new(TCG_TYPE_I64);
 #endif
     cpu_tmp2 = tcg_temp_new(TCG_TYPE_I32);