This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix scheduling antideps
- From: Mike Stump <mikestump at comcast dot net>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 15 Dec 2015 10:47:05 -0800
- Subject: Re: fix scheduling antideps
- Authentication-results: sourceware.org; auth=none
- References: <0E3A13C8-561C-4587-AEAE-A067F9DD356D at comcast dot net> <11418882 dot j86gSL6jVX at polaris>
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.