Commit fd2d6b1b by Richard Sandiford Committed by Richard Sandiford

mips.c (mips16_unextended_reference_p): Test for BLKmode.

gcc/
	* config/mips/mips.c (mips16_unextended_reference_p): Test for BLKmode.

From-SVN: r181762
parent a2ccf3c2
2011-11-27 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (mips16_unextended_reference_p): Test for BLKmode.
2011-11-27 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips-protos.h (mips_emit_binary): Declare.
* config/mips/mips.c (mips_emit_binary): Make global.
(mips_set_mips16_mode): Turn off -mfix-r4000 in MIPS16 mode.
......@@ -2163,7 +2163,7 @@ static bool
mips16_unextended_reference_p (enum machine_mode mode, rtx base,
unsigned HOST_WIDE_INT offset)
{
if (offset % GET_MODE_SIZE (mode) == 0)
if (mode != BLKmode && offset % GET_MODE_SIZE (mode) == 0)
{
if (GET_MODE_SIZE (mode) == 4 && base == stack_pointer_rtx)
return offset < 256U * GET_MODE_SIZE (mode);
......
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