Hacker News new | ask | show | jobs
by zerr 1032 days ago
No explanation whatsoever. Why the branch predictor is not "invoked" in the first version of the function?
1 comments

Because it's most likely using a conditional move.
But I don't see the post going into investigating this at all. Yes, most likely that is what is going on but I don't understand the point of the OP post is if the real reason of the difference in the branch predictor behavior is not explained.