VFP Programmer’s Model
ARM DDI 0301H
Copyright © 2004-2009 ARM Limited. All rights reserved.
20-12
ID012310
Non-Confidential, Unrestricted Access
20.4
VFP11 system registers
The VFPv2 architecture describes the following three system registers that must be present in a
VFP system:
•
Floating-Point System ID Register
, FPSID
•
Floating-Point Status and Control Register
, FPSCR
•
Floating-Point Exception Register
, FPEXC.
The VFP11 coprocessor provides sufficient information for processing all exceptional
conditions encountered by the hardware. In an exceptional situation, the hardware provides:
•
the exceptional instruction
•
the instruction that might have been issued to the VFP11 coprocessor before detection of
the exception
•
exception status information:
—
type of exception
—
number of remaining short vector iterations after an exceptional iteration.
To support exceptional conditions, the VFP11 coprocessor provides two additional registers:
•
Floating-Point Instruction Register
, FPINST
•
Floating-Point Instruction Register 2
, FPINST2.
Also, the FPEXC register contains additional bits to support exceptional conditions.
These registers are designed to be used with the support code software available from ARM
Limited. As a result, this document does not fully specify exception handling in all cases.
The coprocessor also provides two feature registers:
•
Media and VFP Feature Register 0
on page 20-19, MVFR0
•
Media and VFP Feature Register 1
on page 20-20, MVFR1.
Table 20-3 lists the VFP11 system registers.
Use the FMRX instruction to transfer the contents of VFP11 registers to ARM11 registers and
the FMXR instruction to transfer the contents of ARM11 registers to VFP11 registers.
Table 20-3 VFP11 system registers
Register
Access mode
Access type
Reset state
See
Floating-Point System ID Register, FPSID
Any
Read-only
0x410120B3
page 20-13
Floating-Point Status and Control Register, FPSCR
Any
Read/write
0x00000000
page 20-14
Floating-Point Exception Register, FPEXC
Privileged
Read/write
0x00000000
page 20-16
Floating-Point Instruction Register, FPINST
Privileged
Read/write
0xEE000A00
page 20-18
Floating-Point Instruction Register 2, FPINST2
Privileged
Read/write
UNP
page 20-18
Media and VFP Feature Register 0, MVFR0
Any
Read-only
0x11111111
page 20-19
Media and VFP Feature Register 1, MVFR1
Any
Read-only
0x00000000
page 20-20