Re:Solutions to Integer Overflow
by Dylan16807 on Saturday September 03, 2016 @05:35AM
(#12418503)
Why is having two never-taken branches worse than one never-taken branch?
[ Parent
| on HN ]
Re:Solutions to Integer Overflow
by SamReidHughes on Saturday September 03, 2016 @05:43AM
(#12418527)
Three, not two.
And it will be worse because the two extra are checks that'll require a test instruction too, instruction cache overhead, sometimes a shift to line up the bits right.