patch for PR49865

Vladimir Makarov vmakarov@redhat.com
Tue Dec 20 21:44:00 GMT 2011


The following patch solves PR49865.  The problem is described on 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49865

The patch changes code a bit only for gcc, crafty, and mesa on x86.  
There is no visible change in the performance.
Only code for crafty is changed on x86-64 and improvement in the 
performance is about 0.3%.

The patch was successfully bootstrapped on x86/x86-64.

The patch has been committed as rev. 182553.

2011-12-20  Vladimir Makarov <vmakarov@redhat.com>

         PR target/49865
         * ira-costs.c (find_costs_and_classes): Prefer registers even
           if the memory cost is the same.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr49865.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111220/99bb22ae/attachment.ksh>


More information about the Gcc-patches mailing list