Our linker aligns the data and BSS segments to a 4-byte boundary, so
set BIGGEST_ALIGNMENT to 32 by default. Also, change some other alignemtn constraints to improve performance.
This commit is contained in:
parent
6f0b278584
commit
e6492a1093
@ -215,16 +215,16 @@ extern int target_flags;
|
||||
#define PARM_BOUNDARY (TARGET_SHORT ? 16 : 32)
|
||||
|
||||
/* Boundary (in *bits*) on which stack pointer should be aligned. */
|
||||
#define STACK_BOUNDARY 16
|
||||
#define STACK_BOUNDARY (TARGET_SHORT ? 16 : 32)
|
||||
|
||||
/* Allocation boundary (in *bits*) for the code of a function. */
|
||||
#define FUNCTION_BOUNDARY 16
|
||||
#define FUNCTION_BOUNDARY (TARGET_SHORT ? 16 : 32)
|
||||
|
||||
/* Alignment of field after `int : 0' in a structure. */
|
||||
#define EMPTY_FIELD_BOUNDARY 16
|
||||
#define EMPTY_FIELD_BOUNDARY (TARGET_SHORT ? 16 : 32)
|
||||
|
||||
/* No data type wants to be aligned rounder than this. */
|
||||
#define BIGGEST_ALIGNMENT 16
|
||||
#define BIGGEST_ALIGNMENT (TARGET_SHORT ? 16 : 32)
|
||||
|
||||
/* Set this nonzero if move instructions will actually fail to work
|
||||
when given unaligned data. */
|
||||
|
Loading…
Reference in New Issue
Block a user