* config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not
accept extended registers in any mode when compiling for the
MN10300.
From-SVN: r207498
+2014-02-05 Nick Clifton <nickc@redhat.com>
+
+ * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not
+ accept extended registers in any mode when compiling for the
+ MN10300.
+
2014-02-05 Yury Gribov <y.gribov@samsung.com>
* cif-code.def (ATTRIBUTE_MISMATCH): New CIF code.
static int cc_flags_for_code(enum rtx_code);
\f
/* Implement TARGET_OPTION_OVERRIDE. */
-
static void
mn10300_option_override (void)
{
if (addr && CONSTANT_ADDRESS_P (addr))
return GENERAL_REGS;
}
-
/* Otherwise assume no secondary reloads are needed. */
return NO_REGS;
}
|| REGNO_REG_CLASS (regno) == FP_ACC_REGS)
/* Do not store integer values in FP registers. */
return GET_MODE_CLASS (mode) == MODE_FLOAT && ((regno & 1) == 0);
-
+
+ if (! TARGET_AM33 && REGNO_REG_CLASS (regno) == EXTENDED_REGS)
+ return false;
+
if (((regno) & 1) == 0 || GET_MODE_SIZE (mode) == 4)
return true;