aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 889396e901..c84307d911 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -530,7 +530,11 @@ struct CPUPPCState {
* during translated code execution
*/
#if TARGET_LONG_BITS > HOST_LONG_BITS
- target_ulong t0, t1, t2;
+ target_ulong t0, t1;
+#endif
+ /* XXX: this is a temporary workaround for i386. cf translate.c comment */
+#if (TARGET_LONG_BITS > HOST_LONG_BITS) || defined(HOST_I386)
+ target_ulong t2;
#endif
#if !defined(TARGET_PPC64)
/* temporary fixed-point registers