Hi Maxim,

Thanks for the prompt response! I'm using gcc 4.2.0, and couldn't locate
sd_add_dep in sched-deps.c. Is add_dependence () an appropriate
equivalent?

Thanks,
Tomer

-----Original Message-----
From: Maxim Kuvyrkov [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 09:30
To: Tomer Benyamini
Cc: gcc@gcc.gnu.org
Subject: Re: Adding custom scheduler dependency between 2 insns

Tomer Benyamini wrote:
> Hi,
> 
> I was wondering if it is possible to create a dependency between 2
insns
> through a specific scheduler hook (maybe through
> TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK) even though the insns are
not
> really dependent (not really read-after-write etc.). If it is
possible,
> what is the best way to do it?

It sounds to me like you want a dirty hack.  Anyway, call to 
sched-deps.c: sd_add_dep () should be enough.

--
Maxim

Reply via email to