Integer overflow modes on Cortex
Hello,
I am dealing with fixed-point arithmetic calculations on STM32G0.
To avoid integer overflow risks I have scaled properly all the values involved in calculations, but a mistake can be always possible...
On Texas Instruments DSPs, I have the possibility to switch the integer overflow mode, from wrap to saturate, thanks to a couple of intrinsic instructions.
Is there such a possibility also on Cortex processors (and in particular on Cortex M0+)?
Thank you,
Carlo
