diff options
author | DJ Delorie <dj@redhat.com> | 2010-10-19 21:07:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2010-10-19 21:07:50 +0000 |
commit | 154290adc2a187e0b2c73c5fcccf247c5c501a31 (patch) | |
tree | c0f332b5e1618db022b41a4223882273b4c499df /gcc/targhooks.h | |
parent | 5dc395515c1cf325010858f4e37629d060c12a57 (diff) |
* doc/tm.texi.in (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): New.
(TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Change to hook.
(TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Likewise.
(TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Likewise.
* doc/tm.texi: Regenerate.
* targhooks.h (default_label_align_after_barrier_max_skip,
default_loop_align_max_skip, default_label_align_max_skip,
default_jump_align_max_skip): Declare.
* target.def (label_align_after_barrier_max_skip): New.
(loop_align_max_skip): New.
(label_align_max_skip): New.
(jump_align_max_skip): New.
* system.h (poison): Add those macros to the list.
* final.c (LABEL_ALIGN_MAX_SKIP): Remove.
(LOOP_ALIGN_MAX_SKIP): Remove.
(LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Remove.
(JUMP_ALIGN_MAX_SKIP): Remove.
(default_label_align_after_barrier_max_skip): New.
(default_loop_align_max_skip): New.
(default_label_align_max_skip): New.
(default_jump_align_max_skip): New.
(compute_alignments): Use the new hooks.
(shorten_branches): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@165707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r-- | gcc/targhooks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h index f59467904ce..7b640cc91e2 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -162,3 +162,8 @@ extern enum unwind_info_type default_debug_unwind_info (void); extern enum unwind_info_type default_except_unwind_info (void); extern enum unwind_info_type dwarf2_except_unwind_info (void); extern enum unwind_info_type sjlj_except_unwind_info (void); + +extern int default_label_align_after_barrier_max_skip (rtx); +extern int default_loop_align_max_skip (rtx); +extern int default_label_align_max_skip (rtx); +extern int default_jump_align_max_skip (rtx); |