sh.c (prepare_scc_operands): Abort if no compare insn is available.

* sh.c (prepare_scc_operands): Abort if no compare insn is available.
	(find_barrier, gen_block_redirect, split_branches): Fix indentation.
	(calc_live_regs): Likewise.

From-SVN: r31507
This commit is contained in:
J"orn Rennecke 2000-01-19 20:00:09 +00:00 committed by Joern Rennecke
parent d64264ff53
commit eda44c7832
2 changed files with 58 additions and 52 deletions

View File

@ -1,3 +1,9 @@
Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.c (prepare_scc_operands): Abort if no compare insn is available.
(find_barrier, gen_block_redirect, split_branches): Fix indentation.
(calc_live_regs): Likewise.
Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.md (fpu_single, fp_mode): New attributes.

View File

@ -501,6 +501,7 @@ prepare_scc_operands (code)
/* First need a compare insn. */
switch (code)
{
default:
case NE:
/* It isn't possible to handle this case. */
abort ();
@ -516,8 +517,6 @@ prepare_scc_operands (code)
case LEU:
code = GEU;
break;
default:
break;
}
if (code != oldcode)
{
@ -2530,7 +2529,8 @@ gen_block_redirect (jump, addr, need_block)
break;
}
}
for (used = dead = 0, scan = JUMP_LABEL (jump); (scan = NEXT_INSN (scan)); )
for (used = dead = 0, scan = JUMP_LABEL (jump);
(scan = NEXT_INSN (scan)); )
{
enum rtx_code code;