This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Defining scheduling resource constraint
On 11/05/2012 06:11 PM, Paulo Matos wrote:
>> -----Original Message-----
>> From: Bernd Schmidt [mailto:bernds@codesourcery.com]
>> Sent: 05 November 2012 16:52
>> To: Paulo Matos
>> Cc: gcc@gcc.gnu.org
>> Subject: Re: Defining scheduling resource constraint
>>
>> Depends on why it schedules them in the same cycle. Either there's an
>> output dependency, in which case your target's adjust_cost needs to
>> ensure it doesn't have cost zero. Or maybe the scheduler proved that the
>> conditions are mutually exclusive and didn't add such a dependency. In
>> that case, if the machine really disallows this case, you'll probably
>> need to define the sched_reorg hooks and maybe variable_issue and do the
>
> You mean sched_reorder, right?
Right.
Bernd