From: Przemyslaw Wirkus Date: Mon, 28 Sep 2020 14:43:51 +0000 (+0100) Subject: This patch adds support for Cortex-X1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47e1f9deaa3a3fce74609af00cab770056874766;p=binutils-gdb.git 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 18c19baf3a5..6fdabb6602d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-09-28 Przemyslaw Wirkus + + * config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1. + * doc/c-aarch64.texi: Document -mcpu=cortex-x1. + 2020-09-28 Przemyslaw Wirkus * testsuite/gas/aarch64/ete.d: New test. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 56ce5facdb1..b01711809cd 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 3f535a28ba5..95bfdbcb091 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.