summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2020-09-08 14:22:59 +0100
committerAlex Coplan <alex.coplan@arm.com>2020-09-08 14:22:59 +0100
commitf1363b0fb4eb8bbe9ef08f1e78ff6ffa71e07b8b (patch)
tree565a88764c1a8c5b3dbf4be278d62453de08d387 /gas
parent38cf07a6c0bae61ffba00054eb2e025a3910d93c (diff)
downloadbinutils-gdb-f1363b0fb4eb8bbe9ef08f1e78ff6ffa71e07b8b.tar.gz
aarch64: Add -mcpu option for Cortex-R82
This adds support for the Arm Cortex-R82 CPU in AArch64 GAS. For more information about this processor, see [0]. [0] : https://developer.arm.com/ip-products/processors/cortex-r/cortex-r82 gas/ChangeLog: 2020-09-08 Alex Coplan <alex.coplan@arm.com> * config/tc-aarch64.c (aarch64_cpus): Add Cortex-R82. * doc/c-aarch64.texi: Document -mcpu=cortex-r82.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-aarch64.c1
-rw-r--r--gas/doc/c-aarch64.texi3
3 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2c09ca22e82..e89d7e04007 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2020-09-08 Alex Coplan <alex.coplan@arm.com>
+ * config/tc-aarch64.c (aarch64_cpus): Add Cortex-R82.
+ * doc/c-aarch64.texi: Document -mcpu=cortex-r82.
+
+2020-09-08 Alex Coplan <alex.coplan@arm.com>
+
* config/tc-aarch64.c (parse_sys_reg): Also pass sysreg name to
validation function.
(parse_sys_ins_reg): Likewise.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index b2a1683efd2..391746e3e07 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8976,6 +8976,7 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
{"xgene1", AARCH64_ARCH_V8, "APM X-Gene 1"},
{"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC), "APM X-Gene 2"},
+ {"cortex-r82", AARCH64_ARCH_V8_R, "Cortex-R82"},
{"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 89725a7e2f8..d8f2e19326f 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -78,8 +78,9 @@ on the target processor. The following processor names are recognized:
@code{thunderx},
@code{vulcan},
@code{xgene1}
+@code{xgene2},
and
-@code{xgene2}.
+@code{cortex-r82}.
The special name @code{all} may be used to allow the assembler to accept
instructions valid for any supported processor, including all optional
extensions.