By: Patrick Chase (patrickjchase.delete@this.gmai.com), July 7, 2015 11:08 am
Room: Moderated Discussions
Paul A. Clayton (paaronclayton.delete@this.gmail.com) on July 7, 2015 7:43 am wrote:
> 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.
Yep, I've done exactly this more times than I can count.
> 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.
Yep, I've done exactly this more times than I can count.