VFP Exception Handling
ARM DDI 0301H
Copyright © 2004-2009 ARM Limited. All rights reserved.
22-15
ID012310
Non-Confidential, Unrestricted Access
22.7
Division by Zero exception
The Division by Zero exception is generated for a division by zero of a normal or subnormal
value. In flush-to-zero mode, a subnormal input is treated as a positive zero for detection of a
division by zero. What happens depends on whether or not the Invalid Operation exception is
enabled.
22.7.1
Exception enabled
If the DZE bit, FPSCR[9], is set, the Division by Zero user trap handler is called. The source
and destination registers for the instruction are unchanged in the VFP11 register file.
22.7.2
Exception disabled
Clearing the DZE bit disables Division by Zero exceptions. A correctly signed infinity is written
to the destination register, and the DZC flag, FPSCR[1], is set.