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: fix scheduling antideps


On Dec 11, 2015, at 1:22 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> This patch allows a target to increase the cost of anti-deps to better
>> reflect the actual cost on the machine.
> 
> But it can already do it via the TARGET_SCHED_ADJUST_COST hook, can't it?

The undocumented TARGET_SCHED_ADJUST_COST_2 seems a better fit.  Yes, that works, I can use it.  I’m assuming the lack of documentation is a simple error.


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