* config/arm/arm.c (arm_expand_prologue): Fix size calculation.

From-SVN: r80895
This commit is contained in:
Paul Brook 2004-04-20 11:28:08 +00:00 committed by Paul Brook
parent 23f0ecff4a
commit 7aebacee26
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-04-20 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_expand_prologue): Fix size calculation.
2004-04-20 Paolo Bonzini <bonzini@gnu.org>
Revert part of 2004-04-17 change that moved -frename-registers

View File

@ -10390,7 +10390,7 @@ arm_expand_prologue (void)
{
insn = emit_sfm (reg + 1, start_reg - reg);
RTX_FRAME_RELATED_P (insn) = 1;
saved_regs += (reg - start_reg) * 12;
saved_regs += (start_reg - reg) * 12;
}
start_reg = reg - 1;
}
@ -10399,7 +10399,7 @@ arm_expand_prologue (void)
if (start_reg != reg)
{
insn = emit_sfm (reg + 1, start_reg - reg);
saved_regs += (reg - start_reg) * 12;
saved_regs += (start_reg - reg) * 12;
RTX_FRAME_RELATED_P (insn) = 1;
}
}