From 43024c6a2b939ec865af3b96a4840a3db804141d Mon Sep 17 00:00:00 2001 From: ths Date: Sat, 10 Feb 2007 18:21:04 +0000 Subject: [PATCH] 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 --- dyngen-exec.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dyngen-exec.h b/dyngen-exec.h index 7b313d62c7..bf40353b2d 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -91,12 +91,12 @@ extern int printf(const char *, ...); #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" -//#define AREG5 "r15" +//#define AREG4 "rbp" +//#define AREG5 "rbx" #endif #ifdef __powerpc__ #define AREG0 "r27" -- GitLab