On Wed, May 13, 2015 at 4:06 PM, Vitaly Davidovich <vita...@gmail.com> wrote:
> :) The branch avoiding versions may cause data dependence hazards whereas > the branchy one just has branches but assuming perfectly predicted (and > microbenchmarks typically are) can pipeline through. Ivan, could you > please post the asm here? Assuming you guys are interested in investigating > this further. > there might be a new rule of thumb there: only eliminate branches if they are unlikely to be predicted.