summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-30 01:21:44 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-30 01:21:44 +0000
commitc970a162e7b152622b394f9268fc4aeb0f0e3b20 (patch)
tree6f263231a9e535ced1aea6fe91cc101e19fdac0d
parentc321f673095506f7fd67af8298eaf361f89fe554 (diff)
temporary hack for PowerPC system emulation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@436 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--dyngen-exec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h
index ed286db8f7..ec32fbc9e9 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -54,6 +54,8 @@ extern int printf(const char *, ...);
#define AREG1 "r24"
#define AREG2 "r25"
#define AREG3 "r26"
+/* XXX: suppress this hack */
+#if defined(CONFIG_USER_ONLY)
#define AREG4 "r16"
#define AREG5 "r17"
#define AREG6 "r18"
@@ -62,6 +64,7 @@ extern int printf(const char *, ...);
#define AREG9 "r21"
#define AREG10 "r22"
#define AREG11 "r23"
+#endif
#define USE_INT_TO_FLOAT_HELPERS
#define BUGGY_GCC_DIV64
#endif