Commit bf9525e9d8e8a8f56d350f7e7fec33bd9eacb5dd
1 parent
cf6c1b16
Fix alpha target compilation on 32 bits hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2608 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
6 additions
and
0 deletions
target-alpha/cpu.h
| @@ -273,6 +273,12 @@ struct CPUAlphaState { | @@ -273,6 +273,12 @@ struct CPUAlphaState { | ||
| 273 | uint64_t unique; | 273 | uint64_t unique; |
| 274 | int saved_mode; /* Used for HW_LD / HW_ST */ | 274 | int saved_mode; /* Used for HW_LD / HW_ST */ |
| 275 | 275 | ||
| 276 | +#if TARGET_LONG_BITS > HOST_LONG_BITS | ||
| 277 | + /* temporary fixed-point registers | ||
| 278 | + * used to emulate 64 bits target on 32 bits hosts | ||
| 279 | + */ | ||
| 280 | + target_ulong t0, t1, t2; | ||
| 281 | +#endif | ||
| 276 | /* */ | 282 | /* */ |
| 277 | double ft0, ft1, ft2; | 283 | double ft0, ft1, ft2; |
| 278 | 284 |