[Bug target/37488] register allocation spills floats needlessly
vmakarov at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 22 22:00:00 GMT 2009
------- Comment #9 from vmakarov at gcc dot gnu dot org 2009-07-22 22:00 -------
Subject: Bug 37488
Author: vmakarov
Date: Wed Jul 22 22:00:17 2009
New Revision: 149962
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149962
Log:
2009-07-22 Vladimir Makarov <vmakarov@redhat.com>
PR target/37488
* ira-lives.c (bb_has_abnormal_call_pred): New function.
(process_bb_node_lives): Use it.
* ira.c (setup_cover_and_important_classes): Don't setup
ira_important_class_nums. Add cover classes to the end of
important classes.
(cover_class_order, comp_reg_classes_func,
reorder_important_classes): New.
(find_reg_class_closure): Use reorder_important_classes.
* config/i386/i386.h (IRA_COVER_CLASSES): Remove.
* config/i386/i386.c (i386_ira_cover_classes): New function.
(TARGET_IRA_COVER_CLASSES): Redefine.
* doc/tm.texi (TARGET_IRA_COVER_CLASSES): Add a comment about
importance of order of cover classes in the array.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.h
trunk/gcc/doc/tm.texi
trunk/gcc/ira-lives.c
trunk/gcc/ira.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37488
More information about the Gcc-bugs
mailing list