Commit d03cda592359edeeb3cfb044071b4107f5e26070

Authored by bellard
1 parent 30ac07d4

alpha fix - powerpc fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@79 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 7 additions and 0 deletions
exec-i386.h
... ... @@ -66,6 +66,7 @@ register unsigned int T1 asm("r25");
66 66 register unsigned int A0 asm("r26");
67 67 register struct CPUX86State *env asm("r27");
68 68 #define USE_INT_TO_FLOAT_HELPERS
  69 +#define BUGGY_GCC_DIV64
69 70 #define reg_EAX
70 71 #define reg_ECX
71 72 #define reg_EDX
... ... @@ -99,6 +100,12 @@ register unsigned int T1 asm("r8");
99 100 register unsigned int A0 asm("r9");
100 101 register struct CPUX86State *env asm("r10");
101 102 #endif
  103 +#ifdef __alpha__
  104 +register unsigned int T0 asm("$9");
  105 +register unsigned int T1 asm("$10");
  106 +register unsigned int A0 asm("$11");
  107 +register struct CPUX86State *env asm("$12");
  108 +#endif
102 109  
103 110 /* force GCC to generate only one epilog at the end of the function */
104 111 #define FORCE_RET() asm volatile ("");
... ...