* config/mips/mips.c (mips16_unextended_reference_p): Test for BLKmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181762
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
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);