diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2013-02-08 13:06:03 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2013-02-08 13:06:03 +0100 |
commit | 8e10366fe5d9f83cdc4ec48cf8b97aaf2c0eff99 (patch) | |
tree | 422fb42ca40dc2d6177ca7eb3f0e1e0a3fbbf7fc /gcc | |
parent | f64fb0facb4f8f711ceff80c2e81413c6ec267d8 (diff) | |
download | gcc-8e10366fe5d9f83cdc4ec48cf8b97aaf2c0eff99.zip gcc-8e10366fe5d9f83cdc4ec48cf8b97aaf2c0eff99.tar.gz gcc-8e10366fe5d9f83cdc4ec48cf8b97aaf2c0eff99.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 5 |
2 files changed, 8 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9cf0e2f..07700e7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c6f3d53..8826acd 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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; } |