File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3794,6 +3794,7 @@ gcn_asm_trampoline_template (FILE *f)
37943794 asm_fprintf (f, " \t s_mov_b32\t s%i, 0xffff\n " , CC_SAVE_REG);
37953795 asm_fprintf (f, " \t s_mov_b32\t s%i, 0xffff\n " , CC_SAVE_REG + 1 );
37963796 asm_fprintf (f, " \t s_setpc_b64\t s[%i:%i]\n " , CC_SAVE_REG, CC_SAVE_REG + 1 );
3797+ asm_fprintf (f, " \t .align 8\n " );
37973798}
37983799
37993800/* Implement TARGET_TRAMPOLINE_INIT.
Original file line number Diff line number Diff line change @@ -831,7 +831,7 @@ enum gcn_builtin_codes
831831#define PROFILE_BEFORE_PROLOGUE 0
832832
833833/* Trampolines */
834- #define TRAMPOLINE_SIZE 36
834+ #define TRAMPOLINE_SIZE 40 /* 36 + 4 padding for alignment. */
835835#define TRAMPOLINE_ALIGNMENT 64
836836
837837/* MD Optimization.
You can’t perform that action at this time.
0 commit comments