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]

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


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