Fix switch table and reload problems for mips16.
commitbf4f78eef9cd221aa66df893d5dd9e18c38f9eb2
authorJim Wilson <wilson@cygnus.com>
Mon, 14 Jun 1999 15:47:30 +0000 (14 15:47 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 14 Jun 1999 15:47:30 +0000 (14 08:47 -0700)
tree02f5745171c05ed941f21d790eb0db54e6897a58
parent13f1623bc0c68fdd26c7ba17bd96c3de1d44bf9e
Fix switch table and reload problems for mips16.

* config/mips/mips.c (mips_secondary_reload_class): Check for
(PLUS (SP) (REG)) and return appropriate register class.
* config/mips/mips.md (reload_insi): Delete predicate for operand 1.
Handle (PLUS (SP) (REG)).
(tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
(tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
of emit_insn for tablejump.

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