From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2124) id 17F9B38618CD; Fri, 15 Dec 2023 14:54:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17F9B38618CD Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Nick Clifton To: bfd-cvs@sourceware.org Subject: [binutils-gdb] aarch64: Enable Cortex-X3 CPU X-Act-Checkin: binutils-gdb X-Git-Author: Matthieu Longo X-Git-Refname: refs/heads/master X-Git-Oldrev: 2e822854181a663b6da2b195feff9a48e4ac7489 X-Git-Newrev: 528c1f2b58cea90545f52e0a323c573fafbb4753 Message-Id: <20231215145433.17F9B38618CD@sourceware.org> Date: Fri, 15 Dec 2023 14:54:33 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2023 14:54:33 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D528c1f2b58ce= a90545f52e0a323c573fafbb4753 commit 528c1f2b58cea90545f52e0a323c573fafbb4753 Author: Matthieu Longo Date: Wed Dec 13 15:41:43 2023 +0000 aarch64: Enable Cortex-X3 CPU =20 Hi, =20 This patch adds support for the Cortex-X3 CPU to binutils. =20 Gas regression testing for aarch64-none-linux-gnu target and found no r= egressions. =20 Ok for binutils-master? I don't have commit access so I need someone to= commit on my behalf. =20 Regards, =20 Matthieu. Diff: --- bfd/cpu-aarch64.c | 1 + gas/NEWS | 2 ++ gas/config/tc-aarch64.c | 2 ++ gas/doc/c-aarch64.texi | 1 + gas/testsuite/gas/aarch64/cpu-cortex-x3.d | 6 ++++++ 5 files changed, 12 insertions(+) diff --git a/bfd/cpu-aarch64.c b/bfd/cpu-aarch64.c index 269177821bb..8e44b31e8d2 100644 --- a/bfd/cpu-aarch64.c +++ b/bfd/cpu-aarch64.c @@ -75,6 +75,7 @@ processors[] =3D { bfd_mach_aarch64, "cortex-a76ae" }, { bfd_mach_aarch64, "cortex-a77" }, { bfd_mach_aarch64, "cortex-a720" }, + { bfd_mach_aarch64, "cortex-x3" }, { bfd_mach_aarch64, "cortex-x4" }, }; =20 diff --git a/gas/NEWS b/gas/NEWS index af03fd172cf..4c8d5946690 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -32,6 +32,8 @@ =20 * Add support for Cortex-A720 for AArch64. =20 +* Add support for Cortex-X3 for AArch64. + * Add support for Cortex-X4 for AArch64. =20 * Add support for RISC-V T-Head extensions (XTheadVector, XTheadZvlsseg diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 4a2892d992c..8654049cce3 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -10189,6 +10189,8 @@ static const struct aarch64_cpu_option_table aarch6= 4_cpus[] =3D { SSBS, PROFILE), "Cortex-X1"}, {"cortex-x2", AARCH64_CPU_FEATURES (V9A, 4, BFLOAT16, I8MM, MEMTAG, SVE2_BITPERM), "Cortex-X2"}, + {"cortex-x3", AARCH64_CPU_FEATURES (V9A, 4, BFLOAT16, I8MM, MEMTAG, + SVE2_BITPERM), "Cortex-X3"}, {"cortex-x4", AARCH64_CPU_FEATURES (V9_2A, 3, MEMTAG, PROFILE, SVE2_BITPERM), "Cortex-X4"}, {"generic", AARCH64_ARCH_FEATURES (V8A), NULL}, diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index cbf06bf3ec6..2bfb98a4027 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -91,6 +91,7 @@ on the target processor. The following processor names a= re recognized: @code{cortex-r82}, @code{cortex-x1}, @code{cortex-x2}, +@code{cortex-x3}, and @code{cortex-x4}. The special name @code{all} may be used to allow the assembler to accept diff --git a/gas/testsuite/gas/aarch64/cpu-cortex-x3.d b/gas/testsuite/gas/= aarch64/cpu-cortex-x3.d new file mode 100644 index 00000000000..2ea793783be --- /dev/null +++ b/gas/testsuite/gas/aarch64/cpu-cortex-x3.d @@ -0,0 +1,6 @@ +# name: Assemble and dump for cortex-x3 CPU +# source: nop-asm.s +# as: -mcpu=3Dcortex-x3 +# objdump: -d -mcortex-x3 + +#... \ No newline at end of file