sh.c (dump_table): New argument start.
authorJ"orn Rennecke <joern.rennecke@superh.com>
Thu, 10 Jun 2004 18:14:53 +0000 (18:14 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 10 Jun 2004 18:14:53 +0000 (19:14 +0100)
commit078c8b08a0a0d7db27f491a4212957c967619f67
treeb4200eb8e0f0246a529accceea034999fc95785c
parent9ef313e31caf3e61eb3b1b0483249d1598bd73cf
sh.c (dump_table): New argument start.

* sh.c (dump_table): New argument start.  Changed caller.
(fixup_mova): New function.
(find_barrier): Use it.
(sh_reorg): Likewise.  Check for CODE_FOR_casesi_worker_2.
If the label a mova refers to is above the mova itself, change
the mova into a load.
* sh.md (*casesi_worker): Rename to:
(casesi_worker_1).
(casesi_worker_2): New insn.

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