]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): Delete.
authorAndrew Pinski <andrew.pinski@caviumnetworks.com>
Thu, 6 May 2010 00:14:59 +0000 (00:14 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 6 May 2010 00:14:59 +0000 (17:14 -0700)
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

gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h

index 403a39f85be255cd4146d269c67849fba731dd87..3a5973b1200e0abbec3fe86f4edbd9783811ccc2 100644 (file)
@@ -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.
index 89a000728391b3f301d5ef503046a82ba7678e77..e4fbb32b9591223e8979e123e5195601f3484900 100644 (file)
@@ -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);
index 345645dbb2546d6e6d83322f2faa5f0b4a703467..21538bdf6bca15fb420f73e2e262a7dee93667ea 100644 (file)
@@ -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            \
index d5c98a6ffb89d026ca4e23f3b2c074ce2af5af90..7b0ec0762ad62e98bf5ccdd835049c4f15aaa489 100644 (file)
@@ -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.)  */