aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorsrinath <srinath.parvathaneni@arm.com>2023-11-02 12:40:29 +0000
committersrinath <srinath.parvathaneni@arm.com>2023-11-02 12:43:03 +0000
commit8cee11caccde36068ba1184f2a65f3c170f5a04c (patch)
tree695f74e082bd49a2760d6051e0df9c048925370c /gas
parentbf77f42f6708d8b5ba92336d876042826d8d29c1 (diff)
downloadbinutils-8cee11caccde36068ba1184f2a65f3c170f5a04c.zip
binutils-8cee11caccde36068ba1184f2a65f3c170f5a04c.tar.gz
binutils-8cee11caccde36068ba1184f2a65f3c170f5a04c.tar.bz2
aarch64: Add support for Armv8.9-A and Armv9.4-A Architectures.
This patch adds AArch64 support for Armv8.9-A architecture (-march=armv8.9-a) and Armv9.4-A architecture (-march=armv9.4-a).
Diffstat (limited to 'gas')
-rw-r--r--gas/NEWS2
-rw-r--r--gas/config/tc-aarch64.c2
-rw-r--r--gas/doc/c-aarch64.texi4
3 files changed, 6 insertions, 2 deletions
diff --git a/gas/NEWS b/gas/NEWS
index ab0e781..ca03cad 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -1,5 +1,7 @@
-*- text -*-
+* Add support for 'armv8.9-a' and 'armv9.4-a' for -march in AArch64 GAS.
+
* Add support for Intel USER_MSR instructions.
* Add support for Intel AVX10.1.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 14788ce..7d7e549 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10241,11 +10241,13 @@ static const struct aarch64_arch_option_table aarch64_archs[] = {
{"armv8.6-a", AARCH64_ARCH_FEATURES (V8_6A)},
{"armv8.7-a", AARCH64_ARCH_FEATURES (V8_7A)},
{"armv8.8-a", AARCH64_ARCH_FEATURES (V8_8A)},
+ {"armv8.9-a", AARCH64_ARCH_FEATURES (V8_9A)},
{"armv8-r", AARCH64_ARCH_FEATURES (V8R)},
{"armv9-a", AARCH64_ARCH_FEATURES (V9A)},
{"armv9.1-a", AARCH64_ARCH_FEATURES (V9_1A)},
{"armv9.2-a", AARCH64_ARCH_FEATURES (V9_2A)},
{"armv9.3-a", AARCH64_ARCH_FEATURES (V9_3A)},
+ {"armv9.4-a", AARCH64_ARCH_FEATURES (V9_4A)},
{NULL, AARCH64_NO_FEATURES}
};
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index fd67c77..9b73fbf 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -114,8 +114,8 @@ instruction which will not execute on the target architecture. The
following architecture names are recognized: @code{armv8-a},
@code{armv8.1-a}, @code{armv8.2-a}, @code{armv8.3-a}, @code{armv8.4-a}
@code{armv8.5-a}, @code{armv8.6-a}, @code{armv8.7-a}, @code{armv8.8-a},
-@code{armv8-r}, @code{armv9-a}, @code{armv9.1-a}, @code{armv9.2-a},
-and @code{armv9.3-a}.
+@code{armv8.9-a}, @code{armv8-r}, @code{armv9-a}, @code{armv9.1-a},
+@code{armv9.2-a}, @code{armv9.3-a} and @code{armv9.4-a}.
If both @option{-mcpu} and @option{-march} are specified, the
assembler will use the setting for @option{-mcpu}. If neither are