Commit 43024c6a2b939ec865af3b96a4840a3db804141d

Authored by ths
1 parent 970ac5a3

Fix for solaris register allocation issue on amd64, by Martin Bochnig.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2406 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 4 deletions
dyngen-exec.h
... ... @@ -91,12 +91,12 @@ extern int printf(const char *, ...);
91 91 #define AREG3 "edi"
92 92 #endif
93 93 #ifdef __x86_64__
94   -#define AREG0 "rbp"
95   -#define AREG1 "rbx"
  94 +#define AREG0 "r14"
  95 +#define AREG1 "r15"
96 96 #define AREG2 "r12"
97 97 #define AREG3 "r13"
98   -//#define AREG4 "r14"
99   -//#define AREG5 "r15"
  98 +//#define AREG4 "rbp"
  99 +//#define AREG5 "rbx"
100 100 #endif
101 101 #ifdef __powerpc__
102 102 #define AREG0 "r27"
... ...