summaryrefslogtreecommitdiff
path: root/target-ppc/exec.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-14 18:45:52 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-14 18:45:52 +0000
commit57c26279c7bdef3cb181ea0afbd062a87d4ed6a0 (patch)
tree7577cd3c7e3e1c9bc3018bd6e4f5fd931f2e3ee9 /target-ppc/exec.h
parentd2fd1af76777687697674e7a49eeceac83907f3e (diff)
downloadqemu-57c26279c7bdef3cb181ea0afbd062a87d4ed6a0.zip
Fix PowerPC targets compilation on 32 bits hosts:
now that the SPE extension is available for all targets, we always need to have some 64 bits temporary registers. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3647 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/exec.h')
-rw-r--r--target-ppc/exec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/exec.h b/target-ppc/exec.h
index f561357044..beaa39ab04 100644
--- a/target-ppc/exec.h
+++ b/target-ppc/exec.h
@@ -42,8 +42,8 @@ register unsigned long T0 asm(AREG1);
register unsigned long T1 asm(AREG2);
register unsigned long T2 asm(AREG3);
#endif
-/* We may, sometime, need 64 bits registers on 32 bits target */
-#if TARGET_GPR_BITS > HOST_LONG_BITS
+/* We may, sometime, need 64 bits registers on 32 bits targets */
+#if (HOST_LONG_BITS == 32)
/* no registers can be used */
#define T0_64 (env->t0)
#define T1_64 (env->t1)