mips.c (mips_expand_prologue): Use a single insn to allocate 32768 bytes of stack.
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 14 Jul 2003 20:41:27 +0000 (20:41 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 14 Jul 2003 20:41:27 +0000 (20:41 +0000)
commit121d69e69adb8bbbee8740962bd5636eb1f05b1a
tree3801fa6d61d4e57a638684647f4a49efc45dc929
parent3485245e16bc7d4052b488e6971ff024d3e5413b
mips.c (mips_expand_prologue): Use a single insn to allocate 32768 bytes of stack.

* config/mips/mips.c (mips_expand_prologue): Use a single insn to
allocate 32768 bytes of stack.  Use addition rather than subtraction
when a single insn is enough.
* config/mips/mips.md: Remove insns and splitters for subtracting
constants.
(subsi3): Only accept register operands.
(subsi3_internal): Likewise.  Use for TARGET_MIPS16 as well.
(subdi3_internal_3, subsi3_internal_2): Likewise.
(casesi): Use expand_binop to subtract the lower bound.

From-SVN: r69357
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.md