aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/cpu.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-05 21:12:28 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-05 21:12:28 +0000
commitbf9525e9d8e8a8f56d350f7e7fec33bd9eacb5dd (patch)
tree48866f24b292670eaf3a36900940ac460aa80dab /target-alpha/cpu.h
parentcf6c1b169c62e6aba5a384a2a118aef12e9608e6 (diff)
Fix alpha target compilation on 32 bits hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2608 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-alpha/cpu.h')
-rw-r--r--target-alpha/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index ca12105f20..a77af17ef3 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -273,6 +273,12 @@ struct CPUAlphaState {
uint64_t unique;
int saved_mode; /* Used for HW_LD / HW_ST */
+#if TARGET_LONG_BITS > HOST_LONG_BITS
+ /* temporary fixed-point registers
+ * used to emulate 64 bits target on 32 bits hosts
+ */
+ target_ulong t0, t1, t2;
+#endif
/* */
double ft0, ft1, ft2;