* config/mips/mips.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P):
Delete.
* config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P):
New define.
* config/mips/mips-protos.h
(mips_small_register_classes_for_mode_p): Delete prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159090
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-05-05 Andrew Pinski <andrew.pinski@caviumnetworks.com>
+
+ * config/mips/mips.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P):
+ Delete.
+ * config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P):
+ New define.
+ * config/mips/mips-protos.h
+ (mips_small_register_classes_for_mode_p): Delete prototype.
+
2010-05-06 Bernd Schmidt <bernds@codesourcery.com>
* config/arm/arm.h (MAX_LDM_STM_OPS): New macro.
extern bool mips_cannot_change_mode_class (enum machine_mode,
enum machine_mode, enum reg_class);
-extern bool mips_small_register_classes_for_mode_p (enum machine_mode);
extern bool mips_dangerous_for_la25_p (rtx);
extern bool mips_modes_tieable_p (enum machine_mode, enum machine_mode);
extern enum reg_class mips_preferred_reload_class (rtx, enum reg_class);
#undef TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD
#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD \
mips_multipass_dfa_lookahead
+#define TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P \
+ mips_small_register_classes_for_mode_p
#undef TARGET_DEFAULT_TARGET_FLAGS
#define TARGET_DEFAULT_TARGET_FLAGS \
#define INDEX_REG_CLASS NO_REGS
-/* When this hook returns true for MODE, the compiler allows
- registers explicitly used in the rtl to be used as spill registers
- but prevents the compiler from extending the lifetime of these
- registers. */
-#define TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P \
- mips_small_register_classes_for_mode_p
-
/* We generally want to put call-clobbered registers ahead of
call-saved ones. (IRA expects this.) */