Commit 68252e27 by Kazu Hirata Committed by Kazu Hirata

cse.c: Fix formatting.

	* cse.c: Fix formatting.
	* emit-rtl.c: Likewise.

From-SVN: r53191
parent b7c13625
2002-05-05 Kazu Hirata <kazu@cs.umass.edu>
* cse.c: Fix formatting.
* emit-rtl.c: Likewise.
2002-05-05 Vladimir Makarov <vmakarov@redhat.com> 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (initiate_states): Add additional guard to * genautomata.c (initiate_states): Add additional guard to
......
...@@ -742,7 +742,7 @@ approx_reg_cost (x) ...@@ -742,7 +742,7 @@ approx_reg_cost (x)
int hardregs = 0; int hardregs = 0;
INIT_REG_SET (&set); INIT_REG_SET (&set);
for_each_rtx (&x, approx_reg_cost_1, (void *)&set); for_each_rtx (&x, approx_reg_cost_1, (void *) &set);
EXECUTE_IF_SET_IN_REG_SET EXECUTE_IF_SET_IN_REG_SET
(&set, 0, i, (&set, 0, i,
...@@ -1990,7 +1990,7 @@ remove_invalid_refs (regno) ...@@ -1990,7 +1990,7 @@ remove_invalid_refs (regno)
{ {
next = p->next_same_hash; next = p->next_same_hash;
if (GET_CODE (p->exp) != REG if (GET_CODE (p->exp) != REG
&& refers_to_regno_p (regno, regno + 1, p->exp, (rtx*) 0)) && refers_to_regno_p (regno, regno + 1, p->exp, (rtx *) 0))
remove_from_table (p, i); remove_from_table (p, i);
} }
} }
...@@ -2020,7 +2020,7 @@ remove_invalid_subreg_refs (regno, offset, mode) ...@@ -2020,7 +2020,7 @@ remove_invalid_subreg_refs (regno, offset, mode)
|| (((SUBREG_BYTE (exp) || (((SUBREG_BYTE (exp)
+ (GET_MODE_SIZE (GET_MODE (exp)) - 1)) >= offset) + (GET_MODE_SIZE (GET_MODE (exp)) - 1)) >= offset)
&& SUBREG_BYTE (exp) <= end)) && SUBREG_BYTE (exp) <= end))
&& refers_to_regno_p (regno, regno + 1, p->exp, (rtx*) 0)) && refers_to_regno_p (regno, regno + 1, p->exp, (rtx *) 0))
remove_from_table (p, i); remove_from_table (p, i);
} }
} }
...@@ -2212,7 +2212,7 @@ canon_hash_string (ps) ...@@ -2212,7 +2212,7 @@ canon_hash_string (ps)
const char *ps; const char *ps;
{ {
unsigned hash = 0; unsigned hash = 0;
const unsigned char *p = (const unsigned char *)ps; const unsigned char *p = (const unsigned char *) ps;
if (p) if (p)
while (*p) while (*p)
...@@ -2375,7 +2375,7 @@ canon_hash (x, mode) ...@@ -2375,7 +2375,7 @@ canon_hash (x, mode)
if (GET_CODE (XEXP (x, 0)) == MEM if (GET_CODE (XEXP (x, 0)) == MEM
&& ! MEM_VOLATILE_P (XEXP (x, 0))) && ! MEM_VOLATILE_P (XEXP (x, 0)))
{ {
hash += (unsigned)USE; hash += (unsigned) USE;
x = XEXP (x, 0); x = XEXP (x, 0);
if (! RTX_UNCHANGING_P (x) || FIXED_BASE_PLUS_P (XEXP (x, 0))) if (! RTX_UNCHANGING_P (x) || FIXED_BASE_PLUS_P (XEXP (x, 0)))
...@@ -3270,7 +3270,8 @@ find_comparison_args (code, parg1, parg2, pmode1, pmode2) ...@@ -3270,7 +3270,8 @@ find_comparison_args (code, parg1, parg2, pmode1, pmode2)
enum rtx_code reversed = reversed_comparison_code (x, NULL_RTX); enum rtx_code reversed = reversed_comparison_code (x, NULL_RTX);
if (reversed == UNKNOWN) if (reversed == UNKNOWN)
break; break;
else code = reversed; else
code = reversed;
} }
else if (GET_RTX_CLASS (GET_CODE (x)) == '<') else if (GET_RTX_CLASS (GET_CODE (x)) == '<')
code = GET_CODE (x); code = GET_CODE (x);
...@@ -7367,7 +7368,7 @@ cse_basic_block (from, to, next_branch, around_loop) ...@@ -7367,7 +7368,7 @@ cse_basic_block (from, to, next_branch, around_loop)
we can cse into the loop. Don't do this if we changed the jump we can cse into the loop. Don't do this if we changed the jump
structure of a loop unless we aren't going to be following jumps. */ structure of a loop unless we aren't going to be following jumps. */
insn = prev_nonnote_insn(to); insn = prev_nonnote_insn (to);
if ((cse_jumps_altered == 0 if ((cse_jumps_altered == 0
|| (flag_cse_follow_jumps == 0 && flag_cse_skip_blocks == 0)) || (flag_cse_follow_jumps == 0 && flag_cse_skip_blocks == 0))
&& around_loop && to != 0 && around_loop && to != 0
...@@ -7674,7 +7675,8 @@ delete_trivially_dead_insns (insns, nreg) ...@@ -7674,7 +7675,8 @@ delete_trivially_dead_insns (insns, nreg)
dead_libcall = 0; dead_libcall = 0;
} }
} }
} while (ndead != nlastdead); }
while (ndead != nlastdead);
if (rtl_dump_file && ndead) if (rtl_dump_file && ndead)
fprintf (rtl_dump_file, "Deleted %i trivially dead insns; %i iterations\n", fprintf (rtl_dump_file, "Deleted %i trivially dead insns; %i iterations\n",
......
...@@ -1151,6 +1151,7 @@ gen_highpart_mode (outermode, innermode, exp) ...@@ -1151,6 +1151,7 @@ gen_highpart_mode (outermode, innermode, exp)
return simplify_gen_subreg (outermode, exp, innermode, return simplify_gen_subreg (outermode, exp, innermode,
subreg_highpart_offset (outermode, innermode)); subreg_highpart_offset (outermode, innermode));
} }
/* Return offset in bytes to get OUTERMODE low part /* Return offset in bytes to get OUTERMODE low part
of the value in mode INNERMODE stored in memory in target format. */ of the value in mode INNERMODE stored in memory in target format. */
...@@ -2916,7 +2917,7 @@ prev_cc0_setter (insn) ...@@ -2916,7 +2917,7 @@ prev_cc0_setter (insn)
/* Increment the label uses for all labels present in rtx. */ /* Increment the label uses for all labels present in rtx. */
static void static void
mark_label_nuses(x) mark_label_nuses (x)
rtx x; rtx x;
{ {
enum rtx_code code; enum rtx_code code;
...@@ -3027,7 +3028,7 @@ try_split (pat, trial, last) ...@@ -3027,7 +3028,7 @@ try_split (pat, trial, last)
= CALL_INSN_FUNCTION_USAGE (trial); = CALL_INSN_FUNCTION_USAGE (trial);
/* Copy notes, particularly those related to the CFG. */ /* Copy notes, particularly those related to the CFG. */
for (note = REG_NOTES (trial); note ; note = XEXP (note, 1)) for (note = REG_NOTES (trial); note; note = XEXP (note, 1))
{ {
switch (REG_NOTE_KIND (note)) switch (REG_NOTE_KIND (note))
{ {
...@@ -3614,7 +3615,7 @@ remove_unnecessary_notes () ...@@ -3614,7 +3615,7 @@ remove_unnecessary_notes ()
then there is no PC range in the generated code that will then there is no PC range in the generated code that will
actually be in this block, so there's no point in actually be in this block, so there's no point in
remembering the existence of the block. */ remembering the existence of the block. */
for (tmp = PREV_INSN (insn); tmp ; tmp = PREV_INSN (tmp)) for (tmp = PREV_INSN (insn); tmp; tmp = PREV_INSN (tmp))
{ {
/* This block contains a real instruction. Note that we /* This block contains a real instruction. Note that we
don't include labels; if the only thing in the block don't include labels; if the only thing in the block
...@@ -4431,7 +4432,7 @@ end_full_sequence (first, last) ...@@ -4431,7 +4432,7 @@ end_full_sequence (first, last)
{ {
*first = first_insn; *first = first_insn;
*last = last_insn; *last = last_insn;
end_sequence(); end_sequence ();
} }
/* Return 1 if currently emitting into a sequence. */ /* Return 1 if currently emitting into a sequence. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment