diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-07 21:33:21 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-07 21:33:21 +0000 |
commit | d03cda592359edeeb3cfb044071b4107f5e26070 (patch) | |
tree | 380c827a38e4503913e14d2c315bd6c7c82d418b /exec-i386.h | |
parent | 30ac07d4f044975c324933eccc56bbd28a9a8a19 (diff) |
alpha fix - powerpc fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@79 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-i386.h')
-rw-r--r-- | exec-i386.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/exec-i386.h b/exec-i386.h index 28da51def9..b85457704c 100644 --- a/exec-i386.h +++ b/exec-i386.h @@ -66,6 +66,7 @@ register unsigned int T1 asm("r25"); register unsigned int A0 asm("r26"); register struct CPUX86State *env asm("r27"); #define USE_INT_TO_FLOAT_HELPERS +#define BUGGY_GCC_DIV64 #define reg_EAX #define reg_ECX #define reg_EDX @@ -99,6 +100,12 @@ register unsigned int T1 asm("r8"); register unsigned int A0 asm("r9"); register struct CPUX86State *env asm("r10"); #endif +#ifdef __alpha__ +register unsigned int T0 asm("$9"); +register unsigned int T1 asm("$10"); +register unsigned int A0 asm("$11"); +register struct CPUX86State *env asm("$12"); +#endif /* force GCC to generate only one epilog at the end of the function */ #define FORCE_RET() asm volatile (""); |