Revision 77fcd093 tcg/sparc/tcg-target.h

b/tcg/sparc/tcg-target.h
73 73

  
74 74
/* used for function call generation */
75 75
#define TCG_REG_CALL_STACK TCG_REG_O6
76
#define TCG_TARGET_STACK_ALIGN 16
77 76
#ifdef __arch64__
78
#define TCG_TARGET_CALL_STACK_OFFSET 2047
79
#else
80
#define TCG_TARGET_CALL_STACK_OFFSET 0
81
#endif
82

  
83
#if defined(__sparc_v9__) && !defined(__sparc_v8plus__)
84 77
#define TCG_TARGET_STACK_MINFRAME 176
78
#define TCG_TARGET_CALL_STACK_OFFSET (2047 + 176)
79
#define TCG_TARGET_STACK_ALIGN 16
85 80
#else
86 81
#define TCG_TARGET_STACK_MINFRAME 92
82
#define TCG_TARGET_CALL_STACK_OFFSET 92
83
#define TCG_TARGET_STACK_ALIGN 8
87 84
#endif
88 85

  
89 86
/* optional instructions */

Also available in: Unified diff