ARM R4 All hardware ID information is privileged access only, Fpsid is privileged access only

Models: R4F r1p3 R4

1 456
Download 456 pages 40.06 Kb
Page 346
Image 346

FPU Programmer’s Model

Note

All hardware ID information is privileged access only:

FPSID is privileged access only

This is a change in VFPv3 compared to VFPv2.

MVFR registers are privileged access only

User code must issue a system call to determine the features that are supported.

The following sections describe the VFP system registers:

Floating-Point System ID Register, FPSID

Floating-Point Status and Control Register, FPSCR on page 12-6

Floating-Point Exception Register, FPEXC on page 12-7

Media and VFP Feature Registers, MVFR0 and MVFR1 on page 12-8.

12.3.1Floating-Point System ID Register, FPSID

The FPSID Register is a read-only register that must be accessed in Privileged mode only. It indicates which VFP implementation is being used.

Figure 12-2shows the bit arrangement of the FPSID Register.

31

24 23 22

16 15

8

7

4

3

0

Implementer

Sub architecture

Part number

Variant

Revision

 

 

HW

 

Figure 12-2 Floating-Point System ID Register format

 

 

 

 

 

 

 

 

Table 12-3shows how the bit values correspond with the FPSID Register functions.

 

 

 

 

Table 12-3 FPSID Register bit functions

 

 

 

Bits

Field

Function

 

 

 

[31:24]

Implementer

ARM Limited:

 

 

0x41 = A

 

 

 

[23]

Hardware or software

0 = hardware implementation

 

 

 

[22:16]

Subarchitecture version

VFP architecture v3 or later with Common VFP subarchitecture v2a:

 

 

0x02

 

 

 

[15:8]

Part number

0x31 = Cortex-R4F

 

 

 

[7:4]

Variant

0x4 = Cortex-R4F

 

 

 

[3:0]

Revision

See Product revision information on page 1-24for details of the value of this field.

a. For details of the Common VFP subarchitecture see the ARM Architecture Reference Manual.

ARM DDI 0363E

Copyright © 2009 ARM Limited. All rights reserved.

12-5

ID013010

Non-Confidential, Unrestricted Access

 

Page 346
Image 346
ARM R4F, r1p3 manual All hardware ID information is privileged access only, Fpsid is privileged access only