sh.h (OVERRIDE_OPTIONS): Set default values for align_loops and align_jumps if not...
authorJ"orn Rennecke <joern.rennecke@superh.com>
Mon, 3 Mar 2003 19:50:38 +0000 (19:50 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Mon, 3 Mar 2003 19:50:38 +0000 (19:50 +0000)
commit10f4f6354022760060f5256e175500dc12392c09
treed711723f7b4c2a1fad5e37cd586b4b8490d3dba9
parentebcc6a7ec08a1e7cc2cf1d2a06daebbb904bde25
sh.h (OVERRIDE_OPTIONS): Set default values for align_loops and align_jumps if not set.

* sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
and align_jumps if not set.
Force align_jumps to be at least 2.
When relaxing, force align_functions to be at least the maximum of
align_loops, align_jumps and 4.
* sh.c (find_barrier, barrier_align): Honour align_jumps_log.
(sh_loop_align): Honour align_loops_log.

* sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
to check for indirect_jump_scratch.
(indirect_jump_scratch): Add second set.
* sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
when looking for indirect_jump_scratch.
Extract scratch register taking new structure of indirect_jump_scratch
into account.
(gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.

From-SVN: r63728
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sh/sh.md