aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2020-09-28 15:43:51 +0100
committerNick Clifton <nickc@redhat.com>2020-09-28 15:43:51 +0100
commit47e1f9deaa3a3fce74609af00cab770056874766 (patch)
tree1ecf0b5dbe0e6e2e1dd626f1b364be350deaaf06
parent3454861d897960237c852040ded04f70e1bda070 (diff)
downloadgdb-47e1f9deaa3a3fce74609af00cab770056874766.zip
gdb-47e1f9deaa3a3fce74609af00cab770056874766.tar.gz
gdb-47e1f9deaa3a3fce74609af00cab770056874766.tar.bz2
This patch adds support for Cortex-X1
gas * config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1. * doc/c-aarch64.texi: Document -mcpu=cortex-x1.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-aarch64.c3
-rw-r--r--gas/doc/c-aarch64.texi3
3 files changed, 10 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 18c19ba..6fdabb6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+ * config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1.
+ * doc/c-aarch64.texi: Document -mcpu=cortex-x1.
+
+2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
* testsuite/gas/aarch64/ete.d: New test.
* testsuite/gas/aarch64/ete.s: New test.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 56ce5fa..b017118 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8986,6 +8986,9 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
{"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC), "APM X-Gene 2"},
{"cortex-r82", AARCH64_ARCH_V8_R, "Cortex-R82"},
+ {"cortex-x1", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
+ AARCH64_FEATURE_DOTPROD | AARCH64_FEATURE_PROFILE),
+ "Cortex-X1"},
{"generic", AARCH64_ARCH_V8, NULL},
{NULL, AARCH64_ARCH_NONE, NULL}
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 3f535a2..95bfdbc 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -80,8 +80,9 @@ on the target processor. The following processor names are recognized:
@code{vulcan},
@code{xgene1}
@code{xgene2},
+@code{cortex-r82},
and
-@code{cortex-r82}.
+@code{cortex-x1}.
The special name @code{all} may be used to allow the assembler to accept
instructions valid for any supported processor, including all optional
extensions.