How to automatically detect Cortex M7 ALU overflow ??


c = a + b;

c = a - b;

c = a * b;

When the basic operation overflow occurs, the V flag of APSR becomes 1, but the next operation becomes clear with 0.

Isn't there an automatic detection function like Div by zero?

If I make an Exception handler function, do I have to detect overflow by checking every operation?