News for hackers. Stuff that matters.
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.
Re:Catching integer overflows in C by Annatar on Wednesday August 22, 2018 @06:42AM (#17817712)
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.