This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Re-enable scheduling for the K6
- From: Jan Hubicka <jh at suse dot cz>
- To: Steven Bosscher <stevenb at suse dot de>
- Cc: jh at suse dot cz, gcc-patches at gcc dot gnu dot org
- Date: Mon, 15 Nov 2004 07:38:36 +0100
- Subject: Re: Re-enable scheduling for the K6
- References: <200411141700.18059.stevenb@suse.de>
> 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