combine.c: Fix comment formatting.
* combine.c: Fix comment formatting. * loop.c: Likewise. * real.c: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * regrename.c: Likewise. * reg-stack.c: Likewise. * reload1.c: Likewise. * reload.c: Likewise. * reload.h: Likewise. * unroll.c: Likewise. From-SVN: r58583
This commit is contained in:
parent
e591c83de7
commit
3eae4643be
|
@ -1,3 +1,17 @@
|
||||||
|
2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
|
* combine.c: Fix comment formatting.
|
||||||
|
* loop.c: Likewise.
|
||||||
|
* real.c: Likewise.
|
||||||
|
* regclass.c: Likewise.
|
||||||
|
* regmove.c: Likewise.
|
||||||
|
* regrename.c: Likewise.
|
||||||
|
* reg-stack.c: Likewise.
|
||||||
|
* reload1.c: Likewise.
|
||||||
|
* reload.c: Likewise.
|
||||||
|
* reload.h: Likewise.
|
||||||
|
* unroll.c: Likewise.
|
||||||
|
|
||||||
2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
|
2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
* reload1.c (reload): Fix a comment typo.
|
* reload1.c (reload): Fix a comment typo.
|
||||||
|
|
|
@ -11913,7 +11913,7 @@ mark_used_regs_combine (x)
|
||||||
{
|
{
|
||||||
unsigned int endregno, r;
|
unsigned int endregno, r;
|
||||||
|
|
||||||
/* None of this applies to the stack, frame or arg pointers */
|
/* None of this applies to the stack, frame or arg pointers. */
|
||||||
if (regno == STACK_POINTER_REGNUM
|
if (regno == STACK_POINTER_REGNUM
|
||||||
#if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
|
#if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
|
||||||
|| regno == HARD_FRAME_POINTER_REGNUM
|
|| regno == HARD_FRAME_POINTER_REGNUM
|
||||||
|
@ -12021,7 +12021,7 @@ move_deaths (x, maybe_kill_insn, from_cuid, to_insn, pnotes)
|
||||||
rtx where_dead = reg_last_death[regno];
|
rtx where_dead = reg_last_death[regno];
|
||||||
rtx before_dead, after_dead;
|
rtx before_dead, after_dead;
|
||||||
|
|
||||||
/* Don't move the register if it gets killed in between from and to */
|
/* Don't move the register if it gets killed in between from and to. */
|
||||||
if (maybe_kill_insn && reg_set_p (x, maybe_kill_insn)
|
if (maybe_kill_insn && reg_set_p (x, maybe_kill_insn)
|
||||||
&& ! reg_referenced_p (x, maybe_kill_insn))
|
&& ! reg_referenced_p (x, maybe_kill_insn))
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -2475,7 +2475,7 @@ prescan_loop (loop)
|
||||||
loop_info->first_loop_store_insn = NULL_RTX;
|
loop_info->first_loop_store_insn = NULL_RTX;
|
||||||
loop_info->mems_idx = 0;
|
loop_info->mems_idx = 0;
|
||||||
loop_info->num_mem_sets = 0;
|
loop_info->num_mem_sets = 0;
|
||||||
/* If loop opts run twice, this was set on 1st pass for 2nd. */
|
/* If loop opts run twice, this was set on 1st pass for 2nd. */
|
||||||
loop_info->preconditioned = NOTE_PRECONDITIONED (end);
|
loop_info->preconditioned = NOTE_PRECONDITIONED (end);
|
||||||
|
|
||||||
for (insn = start; insn && GET_CODE (insn) != CODE_LABEL;
|
for (insn = start; insn && GET_CODE (insn) != CODE_LABEL;
|
||||||
|
|
|
@ -1635,7 +1635,7 @@ real_to_decimal (str, r_orig, buf_size, digits, crop_trailing_zeros)
|
||||||
|
|
||||||
digit = rtd_divmod (&r, &pten);
|
digit = rtd_divmod (&r, &pten);
|
||||||
|
|
||||||
/* Be prepared for error in that division via underflow ... */
|
/* Be prepared for error in that division via underflow ... */
|
||||||
if (digit == 0 && cmp_significand_0 (&r))
|
if (digit == 0 && cmp_significand_0 (&r))
|
||||||
{
|
{
|
||||||
/* Multiply by 10 and try again. */
|
/* Multiply by 10 and try again. */
|
||||||
|
|
|
@ -222,7 +222,7 @@ enum emit_where
|
||||||
/* The block we're currently working on. */
|
/* The block we're currently working on. */
|
||||||
static basic_block current_block;
|
static basic_block current_block;
|
||||||
|
|
||||||
/* This is the register file for all register after conversion */
|
/* This is the register file for all register after conversion. */
|
||||||
static rtx
|
static rtx
|
||||||
FP_mode_reg[LAST_STACK_REG+1-FIRST_STACK_REG][(int) MAX_MACHINE_MODE];
|
FP_mode_reg[LAST_STACK_REG+1-FIRST_STACK_REG][(int) MAX_MACHINE_MODE];
|
||||||
|
|
||||||
|
@ -379,7 +379,7 @@ straighten_stack (insn, regstack)
|
||||||
change_stack (insn, regstack, &temp_stack, EMIT_AFTER);
|
change_stack (insn, regstack, &temp_stack, EMIT_AFTER);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pop a register from the stack */
|
/* Pop a register from the stack. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
pop_stack (regstack, regno)
|
pop_stack (regstack, regno)
|
||||||
|
@ -390,7 +390,7 @@ pop_stack (regstack, regno)
|
||||||
|
|
||||||
CLEAR_HARD_REG_BIT (regstack->reg_set, regno);
|
CLEAR_HARD_REG_BIT (regstack->reg_set, regno);
|
||||||
regstack->top--;
|
regstack->top--;
|
||||||
/* If regno was not at the top of stack then adjust stack */
|
/* If regno was not at the top of stack then adjust stack. */
|
||||||
if (regstack->reg [top] != regno)
|
if (regstack->reg [top] != regno)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -1125,7 +1125,7 @@ move_for_stack_reg (insn, regstack, pat)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The destination ought to be dead */
|
/* The destination ought to be dead. */
|
||||||
if (get_hard_regnum (regstack, dest) >= FIRST_STACK_REG)
|
if (get_hard_regnum (regstack, dest) >= FIRST_STACK_REG)
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
|
@ -1181,7 +1181,7 @@ move_for_stack_reg (insn, regstack, pat)
|
||||||
stack. The stack mapping is changed to reflect that DEST is
|
stack. The stack mapping is changed to reflect that DEST is
|
||||||
now at top of stack. */
|
now at top of stack. */
|
||||||
|
|
||||||
/* The destination ought to be dead */
|
/* The destination ought to be dead. */
|
||||||
if (get_hard_regnum (regstack, dest) >= FIRST_STACK_REG)
|
if (get_hard_regnum (regstack, dest) >= FIRST_STACK_REG)
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
|
|
|
@ -292,7 +292,7 @@ init_reg_sets ()
|
||||||
memcpy (call_used_regs, initial_call_used_regs, sizeof call_used_regs);
|
memcpy (call_used_regs, initial_call_used_regs, sizeof call_used_regs);
|
||||||
memset (global_regs, 0, sizeof global_regs);
|
memset (global_regs, 0, sizeof global_regs);
|
||||||
|
|
||||||
/* Do any additional initialization regsets may need */
|
/* Do any additional initialization regsets may need. */
|
||||||
INIT_ONCE_REG_SET ();
|
INIT_ONCE_REG_SET ();
|
||||||
|
|
||||||
#ifdef REG_ALLOC_ORDER
|
#ifdef REG_ALLOC_ORDER
|
||||||
|
@ -2296,7 +2296,7 @@ allocate_reg_info (num_regs, new_p, renumber_p)
|
||||||
if (renumber_p)
|
if (renumber_p)
|
||||||
reg_renumber = renumber;
|
reg_renumber = renumber;
|
||||||
|
|
||||||
/* Tell the regset code about the new number of registers */
|
/* Tell the regset code about the new number of registers. */
|
||||||
MAX_REGNO_REG_SET (num_regs, new_p, renumber_p);
|
MAX_REGNO_REG_SET (num_regs, new_p, renumber_p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -793,7 +793,7 @@ copy_src_to_dest (insn, src, dest, old_max_uid)
|
||||||
p_move_notes = ®_NOTES (move_insn);
|
p_move_notes = ®_NOTES (move_insn);
|
||||||
p_insn_notes = ®_NOTES (insn);
|
p_insn_notes = ®_NOTES (insn);
|
||||||
|
|
||||||
/* Move any notes mentioning src to the move instruction */
|
/* Move any notes mentioning src to the move instruction. */
|
||||||
for (link = REG_NOTES (insn); link != NULL_RTX; link = next)
|
for (link = REG_NOTES (insn); link != NULL_RTX; link = next)
|
||||||
{
|
{
|
||||||
next = XEXP (link, 1);
|
next = XEXP (link, 1);
|
||||||
|
@ -812,7 +812,7 @@ copy_src_to_dest (insn, src, dest, old_max_uid)
|
||||||
*p_move_notes = NULL_RTX;
|
*p_move_notes = NULL_RTX;
|
||||||
*p_insn_notes = NULL_RTX;
|
*p_insn_notes = NULL_RTX;
|
||||||
|
|
||||||
/* Is the insn the head of a basic block? If so extend it */
|
/* Is the insn the head of a basic block? If so extend it. */
|
||||||
insn_uid = INSN_UID (insn);
|
insn_uid = INSN_UID (insn);
|
||||||
move_uid = INSN_UID (move_insn);
|
move_uid = INSN_UID (move_insn);
|
||||||
if (insn_uid < old_max_uid)
|
if (insn_uid < old_max_uid)
|
||||||
|
|
|
@ -738,7 +738,7 @@ scan_rtx (insn, loc, class, action, type, earlyclobber)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Build def/use chain */
|
/* Build def/use chain. */
|
||||||
|
|
||||||
static struct du_chain *
|
static struct du_chain *
|
||||||
build_def_use (bb)
|
build_def_use (bb)
|
||||||
|
|
|
@ -6004,7 +6004,7 @@ copy_replacements_1 (px, py, orig_replacements)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Change any replacements being done to *X to be done to *Y */
|
/* Change any replacements being done to *X to be done to *Y. */
|
||||||
|
|
||||||
void
|
void
|
||||||
move_replacements (x, y)
|
move_replacements (x, y)
|
||||||
|
|
|
@ -139,7 +139,7 @@ static int reg_reloaded_contents[FIRST_PSEUDO_REGISTER];
|
||||||
when reg_reloaded_valid is set for this register. */
|
when reg_reloaded_valid is set for this register. */
|
||||||
static rtx reg_reloaded_insn[FIRST_PSEUDO_REGISTER];
|
static rtx reg_reloaded_insn[FIRST_PSEUDO_REGISTER];
|
||||||
|
|
||||||
/* Indicate if reg_reloaded_insn / reg_reloaded_contents is valid */
|
/* Indicate if reg_reloaded_insn / reg_reloaded_contents is valid. */
|
||||||
static HARD_REG_SET reg_reloaded_valid;
|
static HARD_REG_SET reg_reloaded_valid;
|
||||||
/* Indicate if the register was dead at the end of the reload.
|
/* Indicate if the register was dead at the end of the reload.
|
||||||
This is only valid if reg_reloaded_contents is set and valid. */
|
This is only valid if reg_reloaded_contents is set and valid. */
|
||||||
|
@ -1497,7 +1497,7 @@ calculate_needs_all_insns (global)
|
||||||
&& REGNO (SET_SRC (set)) >= FIRST_PSEUDO_REGISTER)
|
&& REGNO (SET_SRC (set)) >= FIRST_PSEUDO_REGISTER)
|
||||||
{
|
{
|
||||||
delete_insn (insn);
|
delete_insn (insn);
|
||||||
/* Delete it from the reload chain */
|
/* Delete it from the reload chain. */
|
||||||
if (chain->prev)
|
if (chain->prev)
|
||||||
chain->prev->next = next;
|
chain->prev->next = next;
|
||||||
else
|
else
|
||||||
|
|
|
@ -1136,7 +1136,7 @@ unroll_loop (loop, insn_count, strength_reduce_p)
|
||||||
/* And whether the loop has been preconditioned. */
|
/* And whether the loop has been preconditioned. */
|
||||||
loop_info->preconditioned = loop_preconditioned;
|
loop_info->preconditioned = loop_preconditioned;
|
||||||
|
|
||||||
/* Remember whether it was preconditioned for the second loop pass. */
|
/* Remember whether it was preconditioned for the second loop pass. */
|
||||||
NOTE_PRECONDITIONED (loop->end) = loop_preconditioned;
|
NOTE_PRECONDITIONED (loop->end) = loop_preconditioned;
|
||||||
|
|
||||||
/* For each biv and giv, determine whether it can be safely split into
|
/* For each biv and giv, determine whether it can be safely split into
|
||||||
|
|
Loading…
Reference in New Issue