Re:Catching integer overflows in C
by AstralStorm on Wednesday August 22, 2018 @03:57AM
(#17817106)
Unfortunately, the bit has overloaded meaning. Plus you're still injecting expensive branches which the branch slot is unlikely to fix.
[ Parent
| on HN ]
You’ll never feel that penalty if you’re writing the assembler code by hand, not even on the oldest, slowest MIPS processor, and if you’re using a compiler, the compiler intrinsic has to do the same thing.