Commit ca45b913 by Jim Wilson Committed by Jim Wilson

Fix mips16 libgcc build failure.

	* mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.

From-SVN: r21673
parent beaa74ae
Tue Aug 11 12:27:03 1998 Jim Wilson <wilson@cygnus.com>
* mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.
Tue Aug 11 18:12:53 1998 Dave Love <d.love@dl.ac.uk>
* README.g77: Update from Craig.
......
......@@ -5130,7 +5130,9 @@ move\\t%0,%z4\\n\\
DONE;
}
/* FIXME: I don't know how to get a value into the HI register. */
if (GET_CODE (operands[0]) == REG && GP_REG_P (REGNO (operands[0])))
if (GET_CODE (operands[0]) == REG
&& (TARGET_MIPS16 ? M16_REG_P (REGNO (operands[0]))
: GP_REG_P (REGNO (operands[0]))))
{
emit_move_insn (operands[0], operands[1]);
DONE;
......
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