i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.
authorUros Bizjak <uros@gcc.gnu.org>
Fri, 8 Feb 2013 12:06:03 +0000 (13:06 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 8 Feb 2013 12:06:03 +0000 (13:06 +0100)
* config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.

From-SVN: r195881

gcc/ChangeLog
gcc/config/i386/i386.c

index 9cf0e2f..07700e7 100644 (file)
@@ -1,7 +1,10 @@
+2013-02-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.
+
 2013-02-08  Marek Polacek  <polacek@redhat.com>
 
-       * cfgloop.c (verify_loop_structure): Add more checking
-       of headers.
+       * cfgloop.c (verify_loop_structure): Add more checking of headers.
 
 2013-02-08  Richard Biener  <rguenther@suse.de>
 
@@ -69,8 +72,7 @@
        * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency.
        * ipa-pure-const.c (analyze_function): Avoid calling
        mark_irreducible_loops twice.
-       * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops
-       for fixup.
+       * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup.
 
 2013-02-07  David S. Miller  <davem@davemloft.net>
 
index c6f3d53..8826acd 100644 (file)
@@ -42083,9 +42083,8 @@ static reg_class_t
 ix86_spill_class (reg_class_t rclass, enum machine_mode mode)
 {
   if (TARGET_SSE && TARGET_GENERAL_REGS_SSE_SPILL && ! TARGET_MMX
-      && hard_reg_set_subset_p (reg_class_contents[rclass],
-                               reg_class_contents[GENERAL_REGS])
-      && (mode == SImode || (TARGET_64BIT && mode == DImode)))
+      && (mode == SImode || (TARGET_64BIT && mode == DImode))
+      && INTEGER_CLASS_P (rclass))
     return SSE_REGS;
   return NO_REGS;
 }