i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.

* config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.

From-SVN: r195881
This commit is contained in:
Uros Bizjak 2013-02-08 13:06:03 +01:00
parent f64fb0facb
commit 8e10366fe5
2 changed files with 8 additions and 7 deletions

View 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> 2013-02-08 Marek Polacek <polacek@redhat.com>
* cfgloop.c (verify_loop_structure): Add more checking * cfgloop.c (verify_loop_structure): Add more checking of headers.
of headers.
2013-02-08 Richard Biener <rguenther@suse.de> 2013-02-08 Richard Biener <rguenther@suse.de>
@ -69,8 +72,7 @@
* Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency.
* ipa-pure-const.c (analyze_function): Avoid calling * ipa-pure-const.c (analyze_function): Avoid calling
mark_irreducible_loops twice. mark_irreducible_loops twice.
* tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup.
for fixup.
2013-02-07 David S. Miller <davem@davemloft.net> 2013-02-07 David S. Miller <davem@davemloft.net>

View File

@ -42083,9 +42083,8 @@ static reg_class_t
ix86_spill_class (reg_class_t rclass, enum machine_mode mode) ix86_spill_class (reg_class_t rclass, enum machine_mode mode)
{ {
if (TARGET_SSE && TARGET_GENERAL_REGS_SSE_SPILL && ! TARGET_MMX if (TARGET_SSE && TARGET_GENERAL_REGS_SSE_SPILL && ! TARGET_MMX
&& hard_reg_set_subset_p (reg_class_contents[rclass], && (mode == SImode || (TARGET_64BIT && mode == DImode))
reg_class_contents[GENERAL_REGS]) && INTEGER_CLASS_P (rclass))
&& (mode == SImode || (TARGET_64BIT && mode == DImode)))
return SSE_REGS; return SSE_REGS;
return NO_REGS; return NO_REGS;
} }