News for hackers. Stuff that matters.
Re:Branch prediction: fundamentals every programmer need not... by rabryan35 on Sunday February 02, 2020 @08:45PM (#22220793)
Theres still a conditional branch in that statement
Re:Branch prediction: fundamentals every programmer need not... by lostmsu on Monday February 03, 2020 @03:05AM (#22222318)
That depends on the compiler, and I'd expect most to optimize this into a cmov