aarch64: Add -mcpu option for Cortex-R82
authorAlex Coplan <alex.coplan@arm.com>
Tue, 8 Sep 2020 13:22:59 +0000 (14:22 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Tue, 8 Sep 2020 13:22:59 +0000 (14:22 +0100)
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.

gas/ChangeLog
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi

index 2c09ca22e82783cc1d6ffca70abec9887ee6f250..e89d7e0400750996d73371def0a55e131eaa94b2 100644 (file)
@@ -1,3 +1,8 @@
+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
index b2a1683efd24dbbf7bc121429b10bde8c6004cc6..391746e3e077f159b5461b0961b52c410f4b3ffa 100644 (file)
@@ -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}
index 89725a7e2f8abdbd6162f3d618627017dfd454c3..d8f2e19326fc127a66eb11a3176e6f80573f3dd2 100644 (file)
@@ -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.