This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r133314 - in /branches/ira/gcc: ChangeLog commo...
- From: vmakarov at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 18 Mar 2008 15:36:37 -0000
- Subject: r133314 - in /branches/ira/gcc: ChangeLog commo...
Author: vmakarov
Date: Tue Mar 18 15:36:37 2008
New Revision: 133314
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133314
Log:
2008-03-18 Vladimir Makarov <vmakarov@redhat.com>
* common.opt (fira-algorithm): Fix description
* ira-int.h (allocno): Remove best_class.
(ALLOCNO_BEST_CLASS): Remove.
(strict_class_subset_p): Remove.
* ira-color.c (get_coalesced_allocnos_best_class_and_freq): Rename
to get_coalesced_allocnos_attributes. Change prototype.
Calculate available regs.
(bucket_allocno_compare_func, sort_bucket): New functions.
(sorted_allocnos_for_spilling): New variable.
(assign_hard_reg): Don't add prohibited_class_mode_regs to
conflicting_regs. Use it in loop for finding the best hard
register.
(add_allocno_to_ordered_bucket): Use bucket_allocno_compare_func.
(push_only_colorable): Call sort_bucket.
(push_allocnos_to_stack): Use sorted_allocnos_for_spilling instead
of sorted_allocnos.
(put_allocno_into_bucket): Use add_allocno_to_bucket instead of
add_allocno_to_ordered_bucket.
(initiate_ira_assign): Allocate sorted_allocnos_for_spilling.
(finish_ira_assign): Free sorted_allocnos_for_spilling.
* ira-emit.c (modify_move_list): Remove setting ALLOCNO_BEST_CLASS
up.
* ira-build.c (create_allocno, create_cap_allocno): Ditto.
* ira.c (strict_class_subset_p): Remove.
(setup_class_subset_and_memory_move_costs): Remove setting
strict_class_subset_p up.
* ira-costs.c (setup_allocno_cover_class_and_costs): Remove
setting ALLOCNO_BEST_CLASS up.
Modified:
branches/ira/gcc/ChangeLog
branches/ira/gcc/common.opt
branches/ira/gcc/ira-build.c
branches/ira/gcc/ira-color.c
branches/ira/gcc/ira-costs.c
branches/ira/gcc/ira-emit.c
branches/ira/gcc/ira-int.h
branches/ira/gcc/ira.c