* config/tc-xtensa.c (enforce_three_byte_loop_align): New flag.
authorBob Wilson <bob.wilson@acm.org>
Tue, 21 Mar 2006 20:34:38 +0000 (20:34 +0000)
committerBob Wilson <bob.wilson@acm.org>
Tue, 21 Mar 2006 20:34:38 +0000 (20:34 +0000)
commit03aaa5932ec1a285ed94ddd86a5af380a3abeff9
treeaaf68687e3fbb18a3955f5510e0ffe5c8dd9619c
parenta75b402ae4e4366cb70f319451c6e0e2026a0105
* config/tc-xtensa.c (enforce_three_byte_loop_align): New flag.
(xtensa_setup_hw_workarounds): Set this new flag for older hardware.
(get_loop_align_size): New.
(xtensa_end): Skip xtensa_mark_narrow_branches when not aligning.
(xtensa_mark_zcl_first_insns): Prevent widening of first loop frag.
(get_text_align_power): Rewrite to handle inputs in the range 2-8.
(get_noop_aligned_address): Use get_loop_align_size.
(get_aligned_diff): Likewise.
gas/ChangeLog
gas/config/tc-xtensa.c