This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: target hooks for the scheduler
On Thu, Aug 16, 2001 at 06:24:39PM +0100, Neil Booth wrote:
> Zachary Weinberg wrote:-
>
> > +#define TARGET_SCHED {TARGET_ADJUST_COST, \
> > + TARGET_ADJUST_PRIORITY, \
> > + TARGET_SCHED_INIT, \
> > + TARGET_SCHED_FINISH, \
> > + TARGET_SCHED_REORDER, \
> > + TARGET_SCHED_REORDER2, \
> > + TARGET_VARIABLE_ISSUE, \
> > + TARGET_ISSUE_RATE, \
> > + TARGET_CYCLE_DISPLAY}
>
> Zack,
>
> Could you have all these macros begin with TARGET_SCHED
> (e.g. TARGET_SCHED_ADJUST_COST)? The namespacing of the target macros
> has been good so far; it would be nice to maintain this and follow the
> TARGET_ASM example.
Mm, good point. I was just going by the existing set of names.
zw