aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsrinath <srinath.parvathaneni@arm.com>2024-01-08 14:13:28 +0000
committersrinath <srinath.parvathaneni@arm.com>2024-01-08 14:13:40 +0000
commitb3b647dc7fb8f9854637234b47c17c0d11873577 (patch)
treee76939887365e4e120e126ccdf29d9d15bb66fee /include
parentbde5096397811b8859813afab21dd3e8a5b0082b (diff)
downloadgdb-b3b647dc7fb8f9854637234b47c17c0d11873577.zip
gdb-b3b647dc7fb8f9854637234b47c17c0d11873577.tar.gz
gdb-b3b647dc7fb8f9854637234b47c17c0d11873577.tar.bz2
arm: Add support for Armv8.9-A and Armv9.4-A
This patch adds AArch32 support for -march=armv8.9-a and -march=armv9.4-a. The behaviour of the new options can be expressed using a combination of existing feature flags and tables. The cpu_arch_ver entries for ARM_ARCH_V9_4A and ARM_ARCH_V8_9A are technically redundant but it including them for macro code consistency across architectures.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/arm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/opcode/arm.h b/include/opcode/arm.h
index 0b5c373..ad1d18a 100644
--- a/include/opcode/arm.h
+++ b/include/opcode/arm.h
@@ -379,6 +379,7 @@
| FPU_NEON_EXT_DOTPROD)
#define ARM_ARCH_V8_7A ARM_ARCH_V8_6A
#define ARM_ARCH_V8_8A ARM_ARCH_V8_7A
+#define ARM_ARCH_V8_9A ARM_ARCH_V8_8A
#define ARM_ARCH_V8M_BASE ARM_FEATURE_CORE (ARM_AEXT_V8M_BASE, \
ARM_AEXT2_V8M_BASE)
#define ARM_ARCH_V8M_MAIN ARM_FEATURE_CORE (ARM_AEXT_V8M_MAIN, \
@@ -399,6 +400,7 @@
| FPU_NEON_EXT_DOTPROD)
#define ARM_ARCH_V9_2A ARM_ARCH_V9_1A
#define ARM_ARCH_V9_3A ARM_ARCH_V9_2A
+#define ARM_ARCH_V9_4A ARM_ARCH_V9_3A
/* Some useful combinations: */
#define ARM_ARCH_NONE ARM_FEATURE_ALL (0, 0, 0, 0)