* final.c (insn_last_address, insn_current_align, uid_align):
commit21d55c67c495d33ce6a1e0d95bc0779bbfeffefc
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Mar 1998 11:54:35 +0000 (2 11:54 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Mar 1998 11:54:35 +0000 (2 11:54 +0000)
tree9ba9228d811fc5a7f85644b346c78cc487723653
parente5636eea45bb1694cac6217e8642650c43558a08
* final.c (insn_last_address, insn_current_align, uid_align):
New variables.
(in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
(insn_current_reference_address): Likewise.
(shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
(label_to_alignment): New function.
* genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
insn_current_reference_address instead of insn_current_address.
(or_attr_value, write_length_unit_log): New functions.
(main): Call write_length_unit_log.
(write_const_num_delay_slots): Output extra '\n'.
* alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
replace with:
(LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
* i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
* arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
(LOOP_ALIGN).
* i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
(LABEL_ALIGN_AFTER_BARRIER).
* ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
* ns32k/tek6000.h: Likewise.
* i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
* i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
ASM_OUTPUT_ALIGN_CODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18357 138bc75d-0d04-0410-961f-82ee72b054a4
21 files changed:
gcc/ChangeLog
gcc/config/alpha/alpha.h
gcc/config/arc/arc.h
gcc/config/i386/gas.h
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/config/i386/osfrose.h
gcc/config/i386/svr3dbx.h
gcc/config/i960/i960.h
gcc/config/m32r/m32r.h
gcc/config/m68k/m68k.h
gcc/config/m88k/m88k.h
gcc/config/ns32k/encore.h
gcc/config/ns32k/merlin.h
gcc/config/ns32k/ns32k.h
gcc/config/ns32k/sequent.h
gcc/config/ns32k/tek6000.h
gcc/config/sparc/sparc.h
gcc/final.c
gcc/genattrtab.c
gcc/tm.texi