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: Question of the LOG_LINKS field


"Ling-hua Tseng" <uranus@it.muds.net> writes:

> The algorithm is highly dependent on the information of LOG_LINKS(insn).
> But I found that there are not any dependecy info for `reload instructions'
> because the register allocation pass and reloading pass are peformed after
> the first insn scheduling pass.

Right.  The LOG_LINKS field is not reliable after reload.

> Should I write a violent algorithm to scan these data dependencies?

Yes.

> Are there any better solutions for this problem?

At present, there is not.

mips_avoid_hazard in config/mips/mips.c is an example of how the MIPS
backend addresses a similar issue.  Note the use of DELAYED_REG.

Ian


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