![ARM Cortex-R4 Скачать руководство пользователя страница 264](http://html.mh-extra.com/html/arm/cortex-r4/cortex-r4_technical-reference-manual_2973229264.webp)
FPU Programmers Model
ARM DDI 0363G
Copyright © 2006-2011 ARM Limited. All rights reserved.
11-4
ID073015
Non-Confidential
11.3
System registers
The VFPv3 architecture describes the following system registers:
•
Floating-Point System ID Register
•
Floating-Point Status and Control Register, FPSCR
•
Floating-Point Exception Register, FPEXC
•
Media and VFP Feature Registers, MVFR0 and MVFR1
.
shows the VFP system registers in the Cortex-R4F FPU.
Note
The FPSID, MVFR0, and MVFR1 Registers are read-only. Attempts to write these registers are
ignored.
shows that some of the VFP system registers can only be accessed in Privileged
modes.
shows that a Privileged mode is sometimes required to access a VFP system register.
When a Privileged mode is required, an instruction that attempts to access a register in a
nonprivileged mode takes the Undefined Instruction exception.
For a VFP system register to be accessible, it must follow the rules in
and the VFP
must also be accessible according to the CPACR. See
c1, Coprocessor Access Register
for more information.
Table 11-1 VFP system registers
Register
FMXR/FMRX <reg> field
Access type
Reset state
Floating-Point System ID Register, FPSID
b0000
Read-only
0x4102314x
a
Floating-Point Status and Control Register, FPSCR
b0001
Read/write
0x00000000
Floating-Point Exception Register, FPEXC
b1000
Read/write
0x00000000
VFP Feature Register 0, MVFR0
b0111
Read-only
0x10110221
VFP Feature Register 1, MVFR1
b0110
Read-only
0x00000011
a. Bits [3:0] of the FPSID depend on the product revision. See the FPSID register description for more information.
Table 11-2 Accessing VFP system registers
Register
Privileged access
User access
FPEXC EN=0
FPEXC EN=1
FPEXC EN=0
FPEXC EN=1
FPSID
Permitted
Permitted
Not permitted
Not permitted
FPSCR
Not permitted
Permitted
Not permitted
Permitted
MVFR0, MVFR1
Permitted
Permitted
Not permitted
Not permitted
FPEXC
Permitted
Permitted
Not permitted
Not permitted