Solaris amd64 patch
This patch (by Martin Bochnig [email protected]) fixes a register allocation issue on Solaris.
Some supporting evidence and the original patch were posted at:
http://www.opensolaris.org/jive/thread.jspa?threadID=22392&tstart=0
dyngen-exec.h +2 -2
@@ -88,8 +88,8 @@#define AREG3 "edi"#endif #ifdef __x86_64__ -#define AREG0 "rbp" -#define AREG1 "rbx" +#define AREG0 "r14" +#define AREG1 "r15"#define AREG2 "r12"#define AREG3 "r13"//#define AREG4 "r14"
Quoted 10 lines · Ben Taylor
This patch (by Martin Bochnig [email protected]) fixes a register allocation issue on Solaris.
Some supporting evidence and the original patch were posted at:
http://www.opensolaris.org/jive/thread.jspa?threadID=22392&tstart=0
This also makes debugging a bit easier (for base pointer is left untouched) Still it is better to make AREG0 %r13 - the generated code is smaller.
Signature · 2 lines
Kind regards, Igor V. Kovalenko