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

Re: [patches] Re: crossjumping speedups


> You misunderstand -- bb-reorder has nothing to do with this.
> Unless the entire blocks match, we'll be adding an extra jump
> to one of the paths.  Clearly the extra jump should go on the
> path executed less frequently.
Oh no, you are not right.
We add jump to one path and split basic blocks on the other.

In case the path with jump is the frequent one, BB reorder should
put the second basic block of the split one after that, killing jump
on frequent part and emitting it to the infrequent.

So still I would not mess up with the frequencies here.

Honza


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