Lines Matching full:alignment
34 # For gcc stack alignment is specified with -mpreferred-stack-boundary,
35 # clang has the option -mstack-alignment for that purpose.
39 else ifneq ($(call cc-option, -mstack-alignment=16),)
40 cc_stack_align4 := -mstack-alignment=4
41 cc_stack_align8 := -mstack-alignment=8
103 # alignment of 16 bytes. This reduces stack usage and the number of
104 # alignment instructions.
139 # By default gcc and clang use a stack alignment of 16 bytes for x86.
142 # alignment it will generate extra alignment instructions for the
143 # default alignment which keep the stack *mis*aligned.
144 # Furthermore an alignment to the register width reduces stack usage
145 # and the number of alignment instructions.
221 KBUILD_LDFLAGS += -plugin-opt=-stack-alignment=$(if $(CONFIG_X86_32),4,8)