Commit 43024c6a2b939ec865af3b96a4840a3db804141d
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,12 +91,12 @@ extern int printf(const char *, ...); | ||
91 | #define AREG3 "edi" | 91 | #define AREG3 "edi" |
92 | #endif | 92 | #endif |
93 | #ifdef __x86_64__ | 93 | #ifdef __x86_64__ |
94 | -#define AREG0 "rbp" | ||
95 | -#define AREG1 "rbx" | 94 | +#define AREG0 "r14" |
95 | +#define AREG1 "r15" | ||
96 | #define AREG2 "r12" | 96 | #define AREG2 "r12" |
97 | #define AREG3 "r13" | 97 | #define AREG3 "r13" |
98 | -//#define AREG4 "r14" | ||
99 | -//#define AREG5 "r15" | 98 | +//#define AREG4 "rbp" |
99 | +//#define AREG5 "rbx" | ||
100 | #endif | 100 | #endif |
101 | #ifdef __powerpc__ | 101 | #ifdef __powerpc__ |
102 | #define AREG0 "r27" | 102 | #define AREG0 "r27" |