4 ms·
ARMv5 and beyond have saturating arithmetic instructions, which can be pretty handy. It won't cause an exception, but it is at least one way to improve the situ
by Gracana 12y ago
ARMv5 and beyond have saturating arithmetic instructions, which can be pretty handy. It won't cause an exception, but it is at least one way to improve the situation.
and a sticky saturation flag in the status register
- stephencanon 12y agoDeprecated (and moved to NEON) in aarch64, FWIW.
- Gracana 12y agoHuh, okay, I guess that's sensible. Thanks for pointing that out, I haven't been paying much attention to the latest in ARM, so I hadn't heard that.