By: Paul A. Clayton (paaronclayton.delete@this.gmail.com), July 7, 2015 7:43 am
Room: Moderated Discussions
Gabriele Svelto (gabriele.svelto.delete@this.gmail.com) on July 7, 2015 2:50 am wrote:
> SHK (no.delete@this.mail.com) on July 6, 2015 12:41 pm wrote:
> > Maybe that kind of hardware optimization is there for old non-recompiled code?
>
> It also works for stores which you cannot handle with isel.
To "predicate" a store, one selects the address (either the ordinary address or a safe but unused address ) and performs the store. A store is more expensive than just an ALU operation, but it could still be cheaper than a branch misprediction.
> SHK (no.delete@this.mail.com) on July 6, 2015 12:41 pm wrote:
> > Maybe that kind of hardware optimization is there for old non-recompiled code?
>
> It also works for stores which you cannot handle with isel.
To "predicate" a store, one selects the address (either the ordinary address or a safe but unused address ) and performs the store. A store is more expensive than just an ALU operation, but it could still be cheaper than a branch misprediction.