File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,7 @@ typedef struct GTY (()) machine_function
115
115
/* N.B. Vectors have alignment exceeding BIGGEST_ALIGNMENT.
116
116
ARC_FUNCTION_ARG_BOUNDARY reduces this to no more than 32 bit. */
117
117
#define ROUND_ADVANCE_CUM (CUM , MODE , TYPE ) \
118
- ((((CUM) - 1) | (32 - 1)/BITS_PER_WORD) \
119
- + 1)
118
+ ((((CUM) - 1) | (PARM_BOUNDARY - 1)/BITS_PER_WORD) + 1)
120
119
121
120
/* ARC64 stack frame generated by this compiler looks like:
122
121
@@ -233,7 +232,8 @@ arc64_compute_frame_info (void)
233
232
frame -> saved_outargs_size = crtl -> outgoing_args_size ;
234
233
235
234
/* 2. Size of locals and temporaries. */
236
- frame -> saved_locals_size = ARC_STACK_ALIGN (get_frame_size ());
235
+ frame -> saved_locals_size = ROUND_UP (get_frame_size (),
236
+ STACK_BOUNDARY / BITS_PER_UNIT );
237
237
238
238
/* 3. Size of the saved registers (including FP/BLINK).
239
239
FIXME! FPR registers. */
Original file line number Diff line number Diff line change 49
49
50
50
/* Boundaries. */
51
51
#define PARM_BOUNDARY 64
52
- #define STACK_BOUNDARY 128
52
+ #define STACK_BOUNDARY 64
53
53
#define FUNCTION_BOUNDARY 32
54
54
#define EMPTY_FIELD_BOUNDARY 32
55
55
#define STRUCTURE_SIZE_BOUNDARY 8
You can’t perform that action at this time.
0 commit comments