提交 43024c6a 编写于 作者: T ths

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
上级 970ac5a3
...@@ -91,12 +91,12 @@ extern int printf(const char *, ...); ...@@ -91,12 +91,12 @@ extern int printf(const char *, ...);
#define AREG3 "edi" #define AREG3 "edi"
#endif #endif
#ifdef __x86_64__ #ifdef __x86_64__
#define AREG0 "rbp" #define AREG0 "r14"
#define AREG1 "rbx" #define AREG1 "r15"
#define AREG2 "r12" #define AREG2 "r12"
#define AREG3 "r13" #define AREG3 "r13"
//#define AREG4 "r14" //#define AREG4 "rbp"
//#define AREG5 "r15" //#define AREG5 "rbx"
#endif #endif
#ifdef __powerpc__ #ifdef __powerpc__
#define AREG0 "r27" #define AREG0 "r27"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册