aarch64: Enable Cortex-X2 CPU

This patch is adding support for Cortex-X2 CPU.

gas:

	* NEWS: Update docs.
	* config/tc-aarch64.c: Add Cortex-X2.
	* doc/c-aarch64.texi: Update docs.
This commit is contained in:
Przemyslaw Wirkus
2021-09-30 21:01:34 +01:00
parent db67a8d594
commit 50aaf5e6ee
3 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,6 @@
-*- text -*-
* Add support for Cortex-A510 and Cortex-A710 for AArch64.
* Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64.
* Outputs of .ds.x directive and .tfloat directive with hex input from
x86 assembler have been reduced from 12 bytes to 10 bytes to match the

View File

@ -9132,6 +9132,12 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
| AARCH64_FEATURE_SSBS
| AARCH64_FEATURE_PROFILE),
"Cortex-X1"},
{"cortex-x2", AARCH64_FEATURE (AARCH64_ARCH_V9,
AARCH64_FEATURE_BFLOAT16
| AARCH64_FEATURE_I8MM
| AARCH64_FEATURE_MEMTAG
| AARCH64_FEATURE_SVE2_BITPERM),
"Cortex-X2"},
{"generic", AARCH64_ARCH_V8, NULL},
{NULL, AARCH64_ARCH_NONE, NULL}

View File

@ -87,8 +87,9 @@ on the target processor. The following processor names are recognized:
@code{xgene1}
@code{xgene2},
@code{cortex-r82},
@code{cortex-x1},
and
@code{cortex-x1}.
@code{cortex-x2}.
The special name @code{all} may be used to allow the assembler to accept
instructions valid for any supported processor, including all optional
extensions.