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] |
On Fri, Sep 26, 2008 at 7:18 AM, Daniel Jacobowitz <drow@false.org> wrote: > On Thu, Sep 25, 2008 at 07:37:21PM -0700, H.J. Lu wrote: >> ix86_cpu is a variable internal to x86 backend where the cpu attribute is >> used for scheduler. It is used to implement -mtune=XXX. It has nothing >> to do with how -mtune=XXX should work. > > Then please call it something else. > Here is the updated patch to use ix86_schedule instead of ix86_cpu. OK for trunk? Thanks. -- H.J. --- 2008-09-29 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386-protos.h (ix86_schedule): New. * config/i386/i386.c (ix86_schedule): New. (override_options): Add schedule to processor_alias_table. Set ix86_schedule from the schedule field in processor_alias_table. (ix86_function_specific_save): Save ix86_schedule. (ix86_function_specific_restore): Restore ix86_schedule. * config/i386/i386.md (cpu): Map to ix86_schedule instead of ix86_tune. * config/i386/i386.opt: Add schedule.
Attachment:
gcc-sched-2.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |