This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ira-improv] patch to fix perlbmk degradation after last merge


After last merge with the trunk I found a big (3%) SPEC2000 perlbmk degradation. The following patch solves the problem. When any register set can be a cover class there is no necessity to sort colorable allocnos in bucket according their available hard regs because allocno class now contains only available registers in most cases. The first level priority becomes a frequency of allocno usage.

2010-08-10 Vladimir Makarov <vmakarov@redhat.com>

    * ira-color.c (bucket_allocno_compare_func): Check frequency
    first.
    (push_allocno_to_stack): Print changing allocnpo colorability.


Attachment: perl.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]