VFP Exception Handling
ARM DDI 0301H
Copyright © 2004-2009 ARM Limited. All rights reserved.
22-12
ID012310
Non-Confidential, Unrestricted Access
22.5
Input Subnormal exception
The IDC flag, FPSCR[7], is set to 1 whenever the VFP coprocessor is in flush-to-zero mode and
a subnormal input operand is replaced by a positive zero. The behavior of the VFP11
coprocessor with a subnormal input operand is a function of the FZ bit, FPSCR[24]. If FZ is not
set, the VFP11 coprocessor bounces on the presence of a subnormal input. If FZ is set, the IDE
bit, FPSCR[15], determines whether a bounce occurs.
22.5.1
Exception enabled
Setting the IDE bit enables Input Subnormal exceptions. An Input Subnormal exception sets the
EX flag, FPEXC[31], the INV flag, FPEXC[7], and calls the Input Subnormal user trap handler.
The source and destination registers for the instruction are unchanged in the VFP11 register file.
22.5.2
Exception disabled
Clearing the IDE bit disables Input Subnormal exceptions. In flush-to-zero mode, the result of
the operation, with the subnormal input replaced with a positive zero, is completed and written
to the register file. The IDC flag, FPSCR[7], is set.