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.
This commit is contained in:
Alex Coplan
2020-09-08 14:22:59 +01:00
parent 38cf07a6c0
commit f1363b0fb4
3 changed files with 8 additions and 1 deletions

View 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

View 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}

View 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.