ID_PFR2, Processor Feature Register 2
The ID_PFR2 characteristics are:
Purpose
Gives information about the AArch32 programmers' model.
Must be interpreted with ID_PFR0 and ID_PFR1.
For general information about the interpretation of the ID registers see 'Principles of the ID scheme for fields in ID registers' in the Arm® Architecture Reference Manual, Armv8, for Armv8-A architecture profile, section G7.1.3.
Configuration
AArch32 System register ID_PFR2 bits [31:0] are architecturally mapped to AArch64 System register ID_PFR2_EL1[31:0] .
Attributes
ID_PFR2 is a 32-bit register.
Field descriptions
The ID_PFR2 bit assignments are:
Bits [31:12]
Reserved, RES0.
RAS_frac, bits [11:8]
From Armv8.4:
From Armv8.4:
RAS Extension fractional field.
RAS_frac | Meaning |
---|---|
0b0000 |
If ID_PFR0.RAS == 0b0001, RAS Extension implemented. |
0b0001 |
If ID_PFR0.RAS == 0b0001, as 0b0000 and adds support for additional ERXMISC<m> System registers. Error records accessed through System registers conform to RAS System Architecture v1.1, which includes simplifications to ERR<n>STATUS and support for the optional RAS Timestamp Extension. |
All other values are reserved.
This field is valid only if ID_PFR0.RAS == 0b0001.
Otherwise:
Otherwise:
Reserved, RES0.
SSBS, bits [7:4]
From Armv8.5:
From Armv8.5:
Speculative Store Bypassing controls in AArch64 state. Defined values are:
SSBS | Meaning |
---|---|
0b0000 |
AArch32 provides no mechanism to control the use of Speculative Store Bypassing. |
0b0001 |
AArch32 provides the PSTATE.SSBS mechanism to mark regions that are Speculative Store Bypass Safe. |
From Armv8.0, the permitted values are 0b0000 and 0b0001.
From Armv8.5, the only permitted value is 0b0001.
All other values are reserved.
Otherwise:
Otherwise:
Reserved, RES0.
CSV3, bits [3:0]
From Armv8.5:
From Armv8.5:
Speculative use of faulting data. Defined values are:
CSV3 | Meaning |
---|---|
0b0000 |
This Device does not disclose whether data loaded under speculation with a permission or domain fault can be used to form an address or generate condition codes or SVE predicate values to be used by instructions newer than the load in the speculative sequence |
0b0001 |
Data loaded under speculation with a permission or domain fault cannot be used to form an address or generate condition codes or SVE predicate values to be used by instructions newer than the load in the speculative sequence |
From Armv8.0, the permitted values are 0b0000 and 0b0001.
From Armv8.5, the only permitted value is 0b0001.
All other values are reserved.
Otherwise:
Otherwise:
Reserved, RES0.
Accessing the ID_PFR2
Accesses to this register use the following encodings:
MRC{<c>}{<q>} <coproc>, {#}<opc1>, <Rt>, <CRn>, <CRm>{, {#}<opc2>}
coproc | opc1 | CRn | CRm | opc2 |
---|---|---|---|---|
0b1111 | 0b000 | 0b0000 | 0b0011 | 0b100 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T0 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T0 == '1' then AArch32.TakeHypTrapException(0x03); elsif EL2Enabled() && !ELUsingAArch32(EL2) && HCR_EL2.TID3 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HCR.TID3 == '1' then AArch32.TakeHypTrapException(0x03); else return ID_PFR2; elsif PSTATE.EL == EL2 then return ID_PFR2; elsif PSTATE.EL == EL3 then return ID_PFR2;