|Home > Functional description > Floating-Point Unit > FPU functional description > Exceptions|
The FPU sets the cumulative exception status flag in the FPSCR register as required for each instruction, in accordance with the FPv5 architecture. The FPU does not support exception traps.
The processor also has six output pins, each reflect the status of one of the cumulative exception flags:
|FPIXC||Masked floating-point inexact exception.|
|FPUFC||Masked floating-point underflow exception.|
|FPOFC||Masked floating-point overflow exception.|
|FPDZC||Masked floating-point divide by zero exception.|
|FPIDC||Masked floating-point input denormal exception.|
When a floating-point context is active, the stack frame is extended to accommodate the floating-point registers. To reduce the additional interrupt latency associated with writing the larger stack frame on exception entry, the processor supports lazy stacking. This means that the processor reserves space on the stack for the FP state, but does not save that state information to the stack unless the processor executes an FPU instruction inside the exception handler.
The lazy save of the FP state is interruptible by a higher priority exception. The FP state saving operation starts over after that exception returns.
See the Armv8‑M Architecture Reference Manual for more information.