News for hackers. Stuff that matters.
Re:Branch predictor: How many “if”s are too many? by astrange on Thursday May 06, 2021 @06:54PM (#27069918)
The compiler doesn't know how the CPU branch predictor works either. It's not especially good at optimizing this, or guessing if a branch is predictable or not, so you might as well do it yourself.

There are no comments on this comment yet.