From f83675969be5b0a928c348d2eeae83c3257d6840 Mon Sep 17 00:00:00 2001 From: Matthieu Longo Date: Wed, 3 Jul 2024 18:36:26 +0100 Subject: aarch64: add STEP2 feature and its associated registers AArch64 defines new registers for the feature step2 (Enhanced Software Step Extension). step2 is an Armv9.5-A feature. This patch also adds relevant tests. Regression tested on aarch64-none-elf, and no regression found. --- include/opcode/aarch64.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index 4dc3019..dfed0a5 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -234,6 +234,8 @@ enum aarch64_feature_bit { AARCH64_FEATURE_SVE2p1, /* RCPC3 instructions. */ AARCH64_FEATURE_RCPC3, + /* Enhanced Software Step Extension. */ + AARCH64_FEATURE_STEP2, /* Checked Pointer Arithmetic instructions. */ AARCH64_FEATURE_CPA, /* FAMINMAX instructions. */ @@ -373,6 +375,7 @@ enum aarch64_feature_bit { | AARCH64_FEATBIT (X, FAMINMAX)\ | AARCH64_FEATBIT (X, E3DSE) \ | AARCH64_FEATBIT (X, SPMU2) \ + | AARCH64_FEATBIT (X, STEP2) \ ) /* Architectures are the sum of the base and extensions. */ -- cgit v1.1