Commit c970a162e7b152622b394f9268fc4aeb0f0e3b20
1 parent
c321f673
temporary hack for PowerPC system emulation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@436 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
0 deletions
dyngen-exec.h
@@ -54,6 +54,8 @@ extern int printf(const char *, ...); | @@ -54,6 +54,8 @@ extern int printf(const char *, ...); | ||
54 | #define AREG1 "r24" | 54 | #define AREG1 "r24" |
55 | #define AREG2 "r25" | 55 | #define AREG2 "r25" |
56 | #define AREG3 "r26" | 56 | #define AREG3 "r26" |
57 | +/* XXX: suppress this hack */ | ||
58 | +#if defined(CONFIG_USER_ONLY) | ||
57 | #define AREG4 "r16" | 59 | #define AREG4 "r16" |
58 | #define AREG5 "r17" | 60 | #define AREG5 "r17" |
59 | #define AREG6 "r18" | 61 | #define AREG6 "r18" |
@@ -62,6 +64,7 @@ extern int printf(const char *, ...); | @@ -62,6 +64,7 @@ extern int printf(const char *, ...); | ||
62 | #define AREG9 "r21" | 64 | #define AREG9 "r21" |
63 | #define AREG10 "r22" | 65 | #define AREG10 "r22" |
64 | #define AREG11 "r23" | 66 | #define AREG11 "r23" |
67 | +#endif | ||
65 | #define USE_INT_TO_FLOAT_HELPERS | 68 | #define USE_INT_TO_FLOAT_HELPERS |
66 | #define BUGGY_GCC_DIV64 | 69 | #define BUGGY_GCC_DIV64 |
67 | #endif | 70 | #endif |