Patchwork [x86-Atom] Enabling look-ahead scheduling feature for Atom processors

login
register
mail settings
Submitter Igor Zamyatin
Date Aug. 31, 2012, 3:16 p.m.
Message ID <CAKdSQZ=VgwgqTNSxXts7mPMUh-1C6K8yaOEqtxU5iOG4Mhr-iA@mail.gmail.com>
Download mbox | patch
Permalink /patch/180992/
State New
Headers show

Comments

Igor Zamyatin - Aug. 31, 2012, 3:16 p.m.
On Tue, Aug 28, 2012 at 1:34 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Tue, Aug 28, 2012 at 11:24 AM, Igor Zamyatin <izamyatin@gmail.com> wrote:
>
>> I'd like this patch (original version at the bottom) also to be
>> backported into 4.7.
>>
>> Is it safe to backport?
>
> Looks safe to me.
>
> OK if there are no objections from RMs in the next 24h.

All testing passed so following will be checked in 4.7.



Original Changelog:

2012-08-23  Yuri Rumyantsev  <ysrumyan@gmail.com>

         * config/i386/i386.c (ia32_multipass_dfa_lookahead) : Add
         case for Atom processor.


Thanks,
Igor

>
> Thanks,
> Uros.
Kirill Yukhin - Aug. 31, 2012, 4:24 p.m.
>> Looks safe to me.
>>
>> OK if there are no objections from RMs in the next 24h.
>
> All testing passed so following will be checked in 4.7.

Checked in.
http://gcc.gnu.org/ml/gcc-cvs/2012-08/msg00815.html

Thanks, K

Patch

Index: gcc/config/i386/i386.c
===================================================================
--- gcc/config/i386/i386.c	(revision 190833)
+++ gcc/config/i386/i386.c	(working copy)
@@ -23842,6 +23842,7 @@ 
     case PROCESSOR_CORE2_64:
     case PROCESSOR_COREI7_32:
     case PROCESSOR_COREI7_64:
+    case PROCESSOR_ATOM:
       /* Generally, we want haifa-sched:max_issue() to look ahead as far
 	 as many instructions can be executed on a cycle, i.e.,
 	 issue_rate.  I wonder why tuning for many CPUs does not do this.  */