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]

Re: Re-enable scheduling for the K6


> Hi Honza,
> 
> This patch from a couple of months ago disabled scheduling for the K6:
> 
> 2004-09-13  Jan Hubicka  <jh@suse.cz>
> 
>         * i386.c (x86_schedule): New global variable.
>         (override_options): Disable scheduling when not supported.
>         * i386.h (x86_schedule): Declare.
>         (TARGET_SCHEDULE): New macro
> 
> In override_options () we do,
> 
>   /* When scheduling description is not available, disable scheduler pass so it
>      won't slow down the compilation and make x87 code slower.  */
>   if (!TARGET_SCHEDULE)
>     flag_schedule_insns_after_reload = flag_schedule_insns = 0;
> 
> and TARGET_SCHEDULE was defined as,
> 
> const int x86_schedule = m_PPRO | m_ATHLON_K8 | m_K8 | m_PENT;
> 
> So scheduling is disabled if the target is K6.  Looks like a typo
> because m_ATHLON_K8 already implies m_K8 - perhaps you wanted to say
> m_K6 there?

Yep, sure.
Thanks!
Honza


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