Fix alpha target compilation on 32 bits hosts.
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Apr 2007 21:12:28 +0000 (21:12 +0000)
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Apr 2007 21:12:28 +0000 (21:12 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2608 c046a42c-6fe2-441c-8c8c-71466251a162

target-alpha/cpu.h

index ca12105f20270a6249ce043cf2619620fd826f02..a77af17ef33475c6bfad2fdc0c1bf9b1750ae770 100644 (file)
@@ -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;