Skip to content

Commit d0ac57d

Browse files
committedDec 11, 2024·
[AArch64] Instruction Set Attribute Register 3 ID_AA64ISAR3_EL1
1 parent d7fa7ac commit d0ac57d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
 

‎aarch64/arm_reg.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
#define CPUPWRCTLR_EL1 sys_reg(0b11, 0b000, 0b1111, 0b0010, 0b111)
88
#define ID_AA64ISAR2_EL1 sys_reg(0b11, 0b000, 0b0000, 0b0110, 0b010)
9+
#define ID_AA64ISAR3_EL1 sys_reg(0b11, 0b000, 0b0000, 0b0110, 0b011)
10+
#define ID_AA64ISAR4_EL1 sys_reg(0b11, 0b000, 0b0000, 0b0110, 0b100)
911
#define ID_AA64MMFR2_EL1 sys_reg(0b11, 0b000, 0b0000, 0b0111, 0b010)
1012
#define ID_AA64MMFR3_EL1 sys_reg(0b11, 0b000, 0b0000, 0b0111, 0b011)
1113
#define ID_AA64SMFR0_EL1 sys_reg(0b11, 0b000, 0b0000, 0b0100, 0b101)
@@ -466,7 +468,11 @@ typedef union
466468
FAMINMAX : 8-4,
467469
TLBIW : 12-8,
468470
PACM : 16-12,
469-
RES0 : 64-16;
471+
LSFE : 20-16,
472+
OCCMO : 24-20,
473+
LSUI : 28-24,
474+
FPRCVT : 32-28,
475+
RES0 : 64-32;
470476
};
471477
} AA64ISAR3;
472478

‎aarch64/corefreqk.c

+2
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ static void Query_Features(void *pArg)
519519
volatile AA64ISAR0 isar0;
520520
volatile AA64ISAR1 isar1;
521521
volatile AA64ISAR2 isar2;
522+
volatile AA64ISAR3 isar3;
522523
volatile AA64MMFR0 mmfr0;
523524
volatile AA64MMFR1 mmfr1;
524525
volatile AA64MMFR2 mmfr2;
@@ -570,6 +571,7 @@ static void Query_Features(void *pArg)
570571
);
571572

572573
isar2.value = SysRegRead(ID_AA64ISAR2_EL1);
574+
isar3.value = SysRegRead(ID_AA64ISAR3_EL1);
573575
mmfr2.value = SysRegRead(ID_AA64MMFR2_EL1);
574576

575577
iArg->Features->Info.Signature.Stepping = midr.Revision

0 commit comments

Comments
 (0)
Please sign in to comment.