Re:An ex-ARM engineer critiques RISC-V
by the5avage on Monday November 02, 2020 @02:27AM
(#24965494)
At the time C was designed not all machines did represent signed integers in 2 complement. Therefore it was not possible to define behavior for signed overflow. They probably should change that 2020^^
GCC has intrinsics for integer math with overflow checks
GCC has intrinsics for integer math with overflow checks