Commit 77fcd093 authored by blueswir1's avatar blueswir1
Browse files

Fix stack offsets and alignment

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4559 c046a42c-6fe2-441c-8c8c-71466251a162
parent 3ce7a69f
......@@ -73,17 +73,14 @@ enum {
/* used for function call generation */
#define TCG_REG_CALL_STACK TCG_REG_O6
#define TCG_TARGET_STACK_ALIGN 16
#ifdef __arch64__
#define TCG_TARGET_CALL_STACK_OFFSET 2047
#else
#define TCG_TARGET_CALL_STACK_OFFSET 0
#endif
#if defined(__sparc_v9__) && !defined(__sparc_v8plus__)
#define TCG_TARGET_STACK_MINFRAME 176
#define TCG_TARGET_CALL_STACK_OFFSET (2047 + 176)
#define TCG_TARGET_STACK_ALIGN 16
#else
#define TCG_TARGET_STACK_MINFRAME 92
#define TCG_TARGET_CALL_STACK_OFFSET 92
#define TCG_TARGET_STACK_ALIGN 8
#endif
/* optional instructions */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment