From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7936) id 4AC393858D20; Thu, 10 Aug 2023 14:12:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AC393858D20 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Richard Ball To: bfd-cvs@sourceware.org Subject: [binutils-gdb] aarch64: Enable Cortex-A520 CPU X-Act-Checkin: binutils-gdb X-Git-Author: Richard Ball X-Git-Refname: refs/heads/master X-Git-Oldrev: 698652da9364297319288293199cdb1f77d36466 X-Git-Newrev: 67bed49ec852aee39172fc867a89ec78c4903883 Message-Id: <20230810141246.4AC393858D20@sourceware.org> Date: Thu, 10 Aug 2023 14:12:46 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2023 14:12:46 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D67bed49ec852= aee39172fc867a89ec78c4903883 commit 67bed49ec852aee39172fc867a89ec78c4903883 Author: Richard Ball Date: Thu Aug 10 15:11:37 2023 +0100 aarch64: Enable Cortex-A520 CPU =20 This patch adds support for the Cortex-A520 CPU to gas. =20 No regressions on aarch64-none-elf. =20 gas/ChangeLog: =20 * NEWS: Update docs. * config/tc-aarch64.c: Add Cortex-A520. * doc/c-aarch64.texi: Update docs. Diff: --- gas/NEWS | 2 ++ gas/config/tc-aarch64.c | 4 ++++ gas/doc/c-aarch64.texi | 1 + 3 files changed, 7 insertions(+) diff --git a/gas/NEWS b/gas/NEWS index 1ed043511eb..07ba7566105 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -10,6 +10,8 @@ =20 * Add support for Intel AVX-VNNI-INT16 instructions. =20 +* Add support for Cortex-A520 for AArch64. + Changes in 2.41: =20 * Add support for Intel FRED instructions. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 99fb5de2679..e692161105a 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -10227,6 +10227,10 @@ static const struct aarch64_cpu_option_table aarch= 64_cpus[] =3D { | AARCH64_FEATURE_MEMTAG | AARCH64_FEATURE_SVE2_BITPERM), "Cortex-A510"}, + {"cortex-a520", AARCH64_FEATURE (AARCH64_ARCH_V9_2, + AARCH64_FEATURE_MEMTAG + | AARCH64_FEATURE_SVE2_BITPERM), + "Cortex-A520"}, {"cortex-a710", AARCH64_FEATURE (AARCH64_ARCH_V9, AARCH64_FEATURE_BFLOAT16 | AARCH64_FEATURE_I8MM diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index acde4a77dd2..ed6b46e0422 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -72,6 +72,7 @@ on the target processor. The following processor names a= re recognized: @code{cortex-a78ae}, @code{cortex-a78c}, @code{cortex-a510}, +@code{cortex-a520}, @code{cortex-a710}, @code{ares}, @code{exynos-m1},