aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/NEWS2
-rw-r--r--gas/config/tc-aarch64.c2
-rw-r--r--gas/doc/c-aarch64.texi1
-rw-r--r--gas/testsuite/gas/aarch64/cpu-cortex-x3.d6
4 files changed, 11 insertions, 0 deletions
diff --git a/gas/NEWS b/gas/NEWS
index af03fd1..4c8d594 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -32,6 +32,8 @@
* Add support for Cortex-A720 for AArch64.
+* Add support for Cortex-X3 for AArch64.
+
* Add support for Cortex-X4 for AArch64.
* Add support for RISC-V T-Head extensions (XTheadVector, XTheadZvlsseg
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 4a2892d..8654049 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10189,6 +10189,8 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
SSBS, PROFILE), "Cortex-X1"},
{"cortex-x2", AARCH64_CPU_FEATURES (V9A, 4, BFLOAT16, I8MM, MEMTAG,
SVE2_BITPERM), "Cortex-X2"},
+ {"cortex-x3", AARCH64_CPU_FEATURES (V9A, 4, BFLOAT16, I8MM, MEMTAG,
+ SVE2_BITPERM), "Cortex-X3"},
{"cortex-x4", AARCH64_CPU_FEATURES (V9_2A, 3, MEMTAG, PROFILE,
SVE2_BITPERM), "Cortex-X4"},
{"generic", AARCH64_ARCH_FEATURES (V8A), NULL},
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index cbf06bf..2bfb98a 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -91,6 +91,7 @@ on the target processor. The following processor names are recognized:
@code{cortex-r82},
@code{cortex-x1},
@code{cortex-x2},
+@code{cortex-x3},
and
@code{cortex-x4}.
The special name @code{all} may be used to allow the assembler to accept
diff --git a/gas/testsuite/gas/aarch64/cpu-cortex-x3.d b/gas/testsuite/gas/aarch64/cpu-cortex-x3.d
new file mode 100644
index 0000000..2ea7937
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/cpu-cortex-x3.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-x3 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-x3
+# objdump: -d -mcortex-x3
+
+#... \ No newline at end of file