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: Incorrect use of anti-dependency to order instructions in the DFA scheduler


On Thu, Sep 01, 2005 at 11:12:51AM +0100, Daniel Towner wrote:
> Why is an anti-dependence used to enforce the ordering of the branch and 
> the subsequent instruction?

Because gcc doesn't target true vliw machines, and given strict
program ordering of insn, anti-dependence is correct.

> ... and if I changed it, would this break other ports?

Yes.

You need to be special-casing branches in your backend's bundling hooks.


r~


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