This is the mail archive of the gcc@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: 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


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