diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-08 13:33:42 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-08 13:33:42 +0000 |
commit | b3db87581213138e8a90862816051ca5f885e6d5 (patch) | |
tree | 9ed4d22c06de143683f1fc727dce54e424b9498e /tcg/sparc/tcg-target.h | |
parent | 53cd92731207a4bc53ed778e5d6bd21155513170 (diff) |
Add function prologue, fix pointer load on Sparc64 host
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4027 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/sparc/tcg-target.h')
-rw-r--r-- | tcg/sparc/tcg-target.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index 4d49313f5d..3cd2dc7c42 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -75,10 +75,18 @@ enum { #define TCG_REG_CALL_STACK TCG_REG_O6 #define TCG_TARGET_STACK_ALIGN 16 +#if defined(__sparc_v9__) && !defined(__sparc_v8plus__) +#define TCG_TARGET_STACK_MINFRAME 176 +#else +#define TCG_TARGET_STACK_MINFRAME 92 +#endif + /* optional instructions */ //#define TCG_TARGET_HAS_bswap_i32 //#define TCG_TARGET_HAS_bswap_i64 +#define TCG_TARGET_NEEDS_PROLOGUE 1 + /* Note: must be synced with dyngen-exec.h */ #ifdef HOST_SOLARIS #define TCG_AREG0 TCG_REG_G2 |