diff options
author | Andrew Pinski <andrew.pinski@caviumnetworks.com> | 2010-05-06 00:14:59 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2010-05-05 17:14:59 -0700 |
commit | a1c4f19f776b85306c4bde0a46129f505aa109ac (patch) | |
tree | f07d344e68e8130ada711c3fa914f0a159714333 /gcc | |
parent | 93b338c3964e0d4f7b267a37077c8b8fecb7749e (diff) | |
download | gcc-a1c4f19f776b85306c4bde0a46129f505aa109ac.zip gcc-a1c4f19f776b85306c4bde0a46129f505aa109ac.tar.gz gcc-a1c4f19f776b85306c4bde0a46129f505aa109ac.tar.bz2 |
mips.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): Delete.
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.
From-SVN: r159090
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/mips/mips-protos.h | 1 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 7 |
4 files changed, 11 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 403a39f..3a5973b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +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. diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h index 89a0007..e4fbb32 100644 --- a/gcc/config/mips/mips-protos.h +++ b/gcc/config/mips/mips-protos.h @@ -291,7 +291,6 @@ extern rtx mips_function_value (const_tree, const_tree, enum machine_mode); 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); diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 345645d..21538bd 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -16286,6 +16286,8 @@ void mips_function_profiler (FILE *file) #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 \ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index d5c98a6..7b0ec07 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -2006,13 +2006,6 @@ enum reg_class #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.) */ |