← Home

ID_AA64ISAR2_EL1: AArch64 Instruction Set Attribute Register 2

Purpose

Provides information about the features and instructions implemented in AArch64 state.

For general information about the interpretation of the ID registers, see 'Principles of the ID scheme for fields in ID registers'.

Configuration

Note

Prior to the introduction of the features described by this register, this register was unnamed and reserved, RES0 from EL1, EL2, and EL3.

Attributes

ID_AA64ISAR2_EL1 is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
ATS1ALUTCSSCRPRFMRES0PRFMSLCSYSINSTR_128SYSREG_128
CLRBHBPAC_fracBCMOPSAPA3GPA3RPRESWFxT

ATS1A, bits [63:60]

Indicates support for address translation instructions, which perform stage 1 address translation for the given virtual address without checking for stage 1 permissions.

The value of this field is an IMPLEMENTATION DEFINED choice of:

ATS1AMeaning
0b0000

Address Translate Stage 1 instructions without Permissions Checks are not implemented

0b0001

Address Translate Stage 1 instructions without Permissions Checks are implemented.

All other values are reserved.

Access to this field is RO.

LUT, bits [59:56]

Indicates support for Advanced SIMD and SVE2 lookup table instructions with 2-bit and 4-bit indices.

The value of this field is an IMPLEMENTATION DEFINED choice of:

LUTMeaning
0b0000

Lookup table instructions with 2-bit and 4-bit indices are not implemented.

0b0001

Lookup table instructions with 2-bit and 4-bit indices are implemented.

All other values are reserved.

FEAT_LUT implements the functionality identified by the value 0b0001.

Access to this field is RO.

CSSC, bits [55:52]

Indicates support for common short sequence compression instructions.

The value of this field is an IMPLEMENTATION DEFINED choice of:

CSSCMeaning
0b0000

Common short sequence compression instructions are not implemented.

0b0001

Common short sequence compression instructions are implemented.

All other values are reserved.

FEAT_CSSC implements the functionality identified by the value 0b0001.

From Armv9.4, the value 0b0000 is not permitted.

Access to this field is RO.

RPRFM, bits [51:48]

RPRFM hint instruction.

The value of this field is an IMPLEMENTATION DEFINED choice of:

RPRFMMeaning
0b0000

RPRFM hint instruction is not implemented and is treated as a NOP.

0b0001

RPRFM hint instruction is implemented.

All other values are reserved.

FEAT_RPRFM implements the functionality identified by the value 0b0001.

Access to this field is RO.

Bits [47:44]

Reserved, RES0.

PRFMSLC, bits [43:40]

Indicates whether the PRFM instructions support a system level cache option.

The value of this field is an IMPLEMENTATION DEFINED choice of:

PRFMSLCMeaning
0b0000

The PRFM instructions do not support the SLC target.

0b0001

The PRFM instructions support the SLC target.

All other values are reserved.

FEAT_PRFMSLC implements the functionality identified by the value 0b0001.

Access to this field is RO.

SYSINSTR_128, bits [39:36]

SYSINSTR_128. Indicates support for System instructions that can take 128-bit inputs.

The value of this field is an IMPLEMENTATION DEFINED choice of:

SYSINSTR_128Meaning
0b0000

System instructions that can take 128-bit inputs are not supported.

0b0001

System instructions that can take 128-bit inputs are supported.

All other values are reserved.

FEAT_SYSINSTR128 implements the functionality identified by the value 0b0001.

Access to this field is RO.

SYSREG_128, bits [35:32]

SYSREG_128. Indicates support for instructions to access 128-bit System Registers.

The value of this field is an IMPLEMENTATION DEFINED choice of:

SYSREG_128Meaning
0b0000

Instructions to access 128-bit System Registers are not supported.

0b0001

Instructions to access 128-bit System Registers are supported.

All other values are reserved.

FEAT_SYSREG128 implements the functionality identified by the value 0b0001.

Access to this field is RO.

CLRBHB, bits [31:28]

Indicates support for the CLRBHB instruction in AArch64 state.

The value of this field is an IMPLEMENTATION DEFINED choice of:

CLRBHBMeaning
0b0000

CLRBHB instruction is not implemented.

0b0001

CLRBHB instruction is implemented.

All other values are reserved.

FEAT_CLRBHB implements the functionality identified by the value 0b0001.

From Armv8.9, the value 0b0000 is not permitted.

Access to this field is RO.

PAC_frac, bits [27:24]

Indicates whether the ConstPACField() function used as part of the PAC addition returns FALSE or TRUE.

The value of this field is an IMPLEMENTATION DEFINED choice of:

PAC_fracMeaning
0b0000

ConstPACField() returns FALSE.

0b0001

ConstPACField() returns TRUE.

All other values are reserved.

FEAT_CONSTPACFIELD implements the functionality identified by the value 0b0001.

From Armv8.3, the permitted values are 0b0000 and 0b0001.

Access to this field is RO.

BC, bits [23:20]

Indicates support for the BC instruction in AArch64 state.

The value of this field is an IMPLEMENTATION DEFINED choice of:

BCMeaning
0b0000

BC instruction is not implemented.

0b0001

BC instruction is implemented.

All other values are reserved.

FEAT_HBC implements the functionality identified by the value 0b0001.

From Armv8.8, the only permitted value is 0b0001.

Access to this field is RO.

MOPS, bits [19:16]

Indicates support for the Memory Copy and Memory Set instructions in AArch64 state.

The value of this field is an IMPLEMENTATION DEFINED choice of:

MOPSMeaning
0b0000

The Memory Copy and Memory Set instructions are not implemented in AArch64 state.

0b0001

The Memory Copy and Memory Set instructions are implemented in AArch64 state with the following exception. If FEAT_MTE is implemented, then SETGP*, SETGM* and SETGE* instructions are also supported.

All other values are reserved.

FEAT_MOPS implements the functionality identified by the value 0b0001.

From Armv8.8, the only permitted value is 0b0001.

Access to this field is RO.

APA3, bits [15:12]

Indicates whether the QARMA3 algorithm is implemented in the PE for address authentication in AArch64 state. This applies to all Pointer Authentication instructions other than the PACGA instruction.

The value of this field is an IMPLEMENTATION DEFINED choice of:

APA3Meaning
0b0000

Address Authentication using the QARMA3 algorithm is not implemented.

0b0001

Address Authentication using the QARMA3 algorithm is implemented, with the HaveEnhancedPAC() and HaveEnhancedPAC2() functions returning FALSE.

0b0010

Address Authentication using the QARMA3 algorithm is implemented, with the HaveEnhancedPAC() function returning TRUE and the HaveEnhancedPAC2() function returning FALSE.

0b0011

Address Authentication using the QARMA3 algorithm is implemented, with the HaveEnhancedPAC2() function returning TRUE, the HaveFPAC() function returning FALSE, the HaveFPACCombined() function returning FALSE, and the HaveEnhancedPAC() function returning FALSE.

0b0100

Address Authentication using the QARMA3 algorithm is implemented, with the HaveEnhancedPAC2() function returning TRUE, the HaveFPAC() function returning TRUE, the HaveFPACCombined() function returning FALSE, and the HaveEnhancedPAC() function returning FALSE.

0b0101

Address Authentication using the QARMA3 algorithm is implemented, with the HaveEnhancedPAC2() function returning TRUE, the HaveFPAC() function returning TRUE, the HaveFPACCombined() function returning TRUE, and the HaveEnhancedPAC() function returning FALSE.

0b0110

Address Authentication using the QARMA3 algorithm is implemented, including instructions that allow signing of LR using SP and PC as diversifiers, with the HaveEnhancedPAC2() function returning TRUE, the HaveFPAC() function returning TRUE, the HaveFPACCombined() function returning TRUE, and the HaveEnhancedPAC() function returning FALSE.

All other values are reserved.

FEAT_PAuth implements the functionality identified by the value 0b0001.

FEAT_EPAC implements the functionality identified by the value 0b0010.

FEAT_PAuth2 implements the functionality identified by the value 0b0011.

FEAT_FPAC implements the functionality identified by the value 0b0100.

FEAT_FPACCOMBINE implements the functionality identified by the value 0b0101.

FEAT_PAuth_LR implements the functionality identified by the value 0b0110.

When this field is nonzero, FEAT_PACQARMA3 is implemented.

In Armv8.3, the permitted values are 0b0000, 0b0001, 0b0010, 0b0011, 0b0100, and 0b0101.

From Armv8.6, the permitted values are 0b0011, 0b0100, and 0b0101.

From Armv9.5, the permitted values are 0b0011, 0b0100, 0b0101, and 0b0110.

If the value of ID_AA64ISAR1_EL1.API is nonzero, or the value of ID_AA64ISAR1_EL1.APA is nonzero, this field must have the value 0b0000.

Access to this field is RO.

GPA3, bits [11:8]

Indicates whether the QARMA3 algorithm is implemented in the PE for generic code authentication in AArch64 state.

The value of this field is an IMPLEMENTATION DEFINED choice of:

GPA3Meaning
0b0000

Generic Authentication using the QARMA3 algorithm is not implemented.

0b0001

Generic Authentication using the QARMA3 algorithm is implemented. This includes the PACGA instruction.

All other values are reserved.

FEAT_PACQARMA3 implements the functionality identified by the value 0b0001.

From Armv8.3, the permitted values are 0b0000 and 0b0001.

If the value of ID_AA64ISAR1_EL1.GPI is nonzero, or the value of ID_AA64ISAR1_EL1.GPA is nonzero, this field must have the value 0b0000.

Access to this field is RO.

RPRES, bits [7:4]

Indicates support for 12 bits of mantissa in reciprocal and reciprocal square root instructions in AArch64 state, when FPCR.AH is 1.

The value of this field is an IMPLEMENTATION DEFINED choice of:

RPRESMeaningApplies when
0b0000

Reciprocal and reciprocal square root estimates give 8 bits of mantissa, when FPCR.AH is 1.

When FPCR.AH == 1
0b0001

Reciprocal and reciprocal square root estimates give 12 bits of mantissa, when FPCR.AH is 1.

When FPCR.AH == 1

All other values are reserved.

FEAT_RPRES implements the functionality identified by the value 0b0001.

Access to this field is RO.

WFxT, bits [3:0]

Indicates support for the WFET and WFIT instructions in AArch64 state.

The value of this field is an IMPLEMENTATION DEFINED choice of:

WFxTMeaning
0b0000

WFET and WFIT are not supported.

0b0010

WFET and WFIT are supported, and the register number is reported in the ESR_ELx on exceptions.

All other values are reserved.

FEAT_WFxT implements the functionality identified by the value 0b0010.

From Armv8.7, the only permitted value is 0b0010.

Access to this field is RO.

Accessing ID_AA64ISAR2_EL1

Accesses to this register use the following encodings in the System register encoding space:

MRS <Xt>, ID_AA64ISAR2_EL1

op0op1CRnCRmop2
0b110b0000b00000b01100b010

if PSTATE.EL == EL0 then if IsFeatureImplemented(FEAT_IDST) then if EL2Enabled() && HCR_EL2.TGE == '1' then AArch64.SystemAccessTrap(EL2, 0x18); else AArch64.SystemAccessTrap(EL1, 0x18); else UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && (IsFeatureImplemented(FEAT_FGT) || !IsZero(ID_AA64ISAR2_EL1) || boolean IMPLEMENTATION_DEFINED "ID_AA64ISAR2_EL1 trapped by HCR_EL2.TID3") && HCR_EL2.TID3 == '1' then AArch64.SystemAccessTrap(EL2, 0x18); else X[t, 64] = ID_AA64ISAR2_EL1; elsif PSTATE.EL == EL2 then X[t, 64] = ID_AA64ISAR2_EL1; elsif PSTATE.EL == EL3 then X[t, 64] = ID_AA64ISAR2_EL1;