VFP Exception Handling
ARM DDI 0301H
Copyright © 2004-2009 ARM Limited. All rights reserved.
22-26
ID012310
Non-Confidential, Unrestricted Access
Table 22-13 lists the double-precision float-to-integer bounce range and the results returned for
exceptional conditions.
Table 22-13 Double-precision float-to-integer bounce thresholds and stored results
Floating-point
value
Integer value
Unsigned
result
Status
Signed
result
Status
Response
NaN
-
0x00000000
Invalid
0x00000000
Invalid
Bounce all
0x7FF00000 00000000
+infinity
0xFFFFFFFF
Invalid
0x7FFFFFFF
Invalid
Bounce all
0x7FEFFFFF FFFFFFFF
to
0x41F00000 00000000
+maximum DP
a
to
2
32
0xFFFFFFFF
Invalid
0x7FFFFFFF
Invalid
Bounce all
0x41EFFFFF FFFFFFFF
to
0x41EFFFFF FFF00000
2
32
– 2
21
to
2
32
– 2
–1
0xFFFFFFFF
N, P
0xFFFFFFFF
Z, M
Invalid
Valid
0x7FFFFFFF
Invalid
Bounce S
UnZ
0x41EFFFFF FFEFFFFF
to
0x41EFFFFF FFE00001
2
32
– 2
–1
– 2
21
to
2
32
– 2
0
+ 2
–21
0xFFFFFFFF
P
0xFFFFFFFF
N, Z, M
Invalid
Valid
0x7FFFFFFF
Invalid
Bounce S
UnZ
0x41EFFFFF FFE00000
to
0x41E00000 00000000
2
32
– 2
0
to
2
31
0xFFFFFFFF
to
0x80000000
Valid
0x7FFFFFFF
Invalid
Bounce S
UnZ
0x41DFFFFF FFFFFFFF
to
0x41DFFFFF FFE00000
2
31
– 2
22
to
2
31
– 2
–1
0x80000000
N, P
0x7FFFFFFF
Z, M
Valid
Valid
0x7FFFFFFF
N,
P
0x7FFFFFFF
Z,
M
Invalid
Valid
Bounce
SnZ
0x41DFFFFF FFDFFFFF
to
0x41DFFFFF FFC00001
2
31
– 2
–1
– 2
–22
to
2
31
– 2
0
+ 2
–22
0x80000000
P
0x7FFFFFFF
N, Z, M
Valid
Valid
0x7FFFFFFF
P
0x7FFFFFFF
N,
Z, M
Invalid
Valid
Bounce
SnZ
0x41DFFFFF FFC00000
to
0x41D00000 00000000
2
31
– 2
0
to
2
30
0x7FFFFFFF
to
0x40000000
Valid
Valid
0x7FFFFFFF
to
0x40000000
Valid
Valid
Bounce
SnZ
0x41CFFFFF FFFFFFFF
to
0x00000000 00000000
2
30
– 2
23
to
+0
0x40000000
N, P
0x3FFFFFFF
Z, M
to
0x00000000
Valid
Valid
Valid
0x40000000
N,
P
0x3FFFFFFF
Z,
M
to
0x00000000
Valid
Valid
Valid
Bounce
none
0x80000000 00000000
to
0xC1CFFFFF FFFFFFFF
–0
to
–2
30
+ 2
–23
0x00000000
b
Invalid
0x00000000
to
0xC0000001
Z,
P
0xC0000000
N,
M
Valid
Valid
Valid
Bounce U