Re: Adding custom scheduler dependency between 2 insns

2007-11-07 Thread Maxim Kuvyrkov
Tomer Benyamini wrote: 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? Now quite. Try add_back_dep (); add_forw_dep (); -- Maxim

RE: Adding custom scheduler dependency between 2 insns

2007-11-07 Thread Tomer Benyamini
7 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_DEP

Re: Adding custom scheduler dependency between 2 insns

2007-11-07 Thread Maxim Kuvyrkov
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, wh

Adding custom scheduler dependency between 2 insns

2007-11-07 Thread Tomer Benyamini
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