public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH][GAS] arm: enable Cortex-A710 CPU
@ 2021-10-04 20:26 Przemyslaw Wirkus
  2021-10-12  9:10 ` Przemyslaw Wirkus
  2021-11-10 12:03 ` Richard Earnshaw
  0 siblings, 2 replies; 5+ messages in thread
From: Przemyslaw Wirkus @ 2021-10-04 20:26 UTC (permalink / raw)
  To: Binutils; +Cc: Richard Earnshaw, Marcus Shawcroft, nickc

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

This patch is adding support for Cortex-A710 CPU [0].

  [0] https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a710

OK for master?

bfd/

2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>

	* cpu-arm.c (processors): Add cortex-a710.

gas/

2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>

	* NEWS: Update docs.
	* config/tc-arm.c (arm_cpus): Add cortex-a710 to -mcpu.
	* doc/c-arm.texi: Update docs.
	* testsuite/gas/arm/cpu-cortex-a710.d: New test.

[-- Attachment #2: rb14868.patch --]
[-- Type: application/octet-stream, Size: 2586 bytes --]

diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c
index c8706253df13262b67bcb70aa6b431e53c6baaab..7c91bb01b87f93b7ca3d653b2cd41ab1427d7b0e 100644
--- a/bfd/cpu-arm.c
+++ b/bfd/cpu-arm.c
@@ -193,6 +193,7 @@ processors[] =
   { bfd_mach_arm_XScale,  "xscale"	    },
   { bfd_mach_arm_8,	  "xgene1"	    },
   { bfd_mach_arm_8,	  "xgene2"	    },
+  { bfd_mach_arm_9,	  "cortex-a710"	    },
   { bfd_mach_arm_ep9312,  "ep9312"	    },
   { bfd_mach_arm_iWMMXt,  "iwmmxt"	    },
   { bfd_mach_arm_iWMMXt2, "iwmmxt2"	    },
diff --git a/gas/NEWS b/gas/NEWS
index db102bee72733a57356b76d0468ca20b2852f40e..8cae488a0ae6cd15d41379e6876eb1251e00de0d 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -4,6 +4,8 @@
 
 * Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64.
 
+* Add support for Cortex-A710 for Arm.
+
 * 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
   output of .tfloat directive.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 5b721c3b2ccd607be1dd4fb6592e587d01ba2938..b7057c6b0d8b87b0d1c49c16270cd24cb2c854ad 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -31582,6 +31582,11 @@ static const struct arm_cpu_option_table arm_cpus[] =
   ARM_CPU_OPT ("cortex-a78c",   "Cortex-A78C",	   ARM_ARCH_V8_2A,
 	       ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST | ARM_EXT2_SB),
 	       FPU_ARCH_DOTPROD_NEON_VFP_ARMV8),
+  ARM_CPU_OPT ("cortex-a710",   "Cortex-A710",	   ARM_ARCH_V9A,
+	       ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST
+				    | ARM_EXT2_BF16
+				    | ARM_EXT2_I8MM),
+	       FPU_ARCH_DOTPROD_NEON_VFP_ARMV8),
   ARM_CPU_OPT ("ares",    "Ares",	       ARM_ARCH_V8_2A,
 	       ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST),
 	       FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 4baa46d3083bbde6df7f29122477f8390faf6771..4b5656ee06e5496e46c3b569cca1e0066e7dac10 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -134,6 +134,7 @@ recognized:
 @code{cortex-a78},
 @code{cortex-a78ae},
 @code{cortex-a78c},
+@code{cortex-a710},
 @code{ares},
 @code{cortex-r4},
 @code{cortex-r4f},
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a710.d b/gas/testsuite/gas/arm/cpu-cortex-a710.d
new file mode 100644
index 0000000000000000000000000000000000000000..ba88dbb24b81e3e382b8b57232cc8fca289a3934
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a710.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a710 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a710
+# objdump: -d -mcortex-a710
+
+#...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH][GAS] arm: enable Cortex-A710 CPU
  2021-10-04 20:26 [PATCH][GAS] arm: enable Cortex-A710 CPU Przemyslaw Wirkus
@ 2021-10-12  9:10 ` Przemyslaw Wirkus
  2021-11-08 21:28   ` Przemyslaw Wirkus
  2021-11-10 12:03 ` Richard Earnshaw
  1 sibling, 1 reply; 5+ messages in thread
From: Przemyslaw Wirkus @ 2021-10-12  9:10 UTC (permalink / raw)
  To: Binutils; +Cc: Richard Earnshaw, Marcus Shawcroft, nickc

Ping :)

> -----Original Message-----
> From: Przemyslaw Wirkus
> Sent: 04 October 2021 21:27
> To: Binutils <binutils@sourceware.org>
> Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Marcus Shawcroft
> (Marcus.Shawcroft@arm.com) <Marcus.Shawcroft@arm.com>; Nick Clifton
> <nickc@redhat.com>
> Subject: [PATCH][GAS] arm: enable Cortex-A710 CPU
> 
> This patch is adding support for Cortex-A710 CPU [0].
> 
>   [0] https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a710
> 
> OK for master?
> 
> bfd/
> 
> 2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> 
> 	* cpu-arm.c (processors): Add cortex-a710.
> 
> gas/
> 
> 2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> 
> 	* NEWS: Update docs.
> 	* config/tc-arm.c (arm_cpus): Add cortex-a710 to -mcpu.
> 	* doc/c-arm.texi: Update docs.
> 	* testsuite/gas/arm/cpu-cortex-a710.d: New test.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH][GAS] arm: enable Cortex-A710 CPU
  2021-10-12  9:10 ` Przemyslaw Wirkus
@ 2021-11-08 21:28   ` Przemyslaw Wirkus
  0 siblings, 0 replies; 5+ messages in thread
From: Przemyslaw Wirkus @ 2021-11-08 21:28 UTC (permalink / raw)
  To: Binutils; +Cc: Richard Earnshaw, Marcus Shawcroft, nickc

Ping^2 :)

> -----Original Message-----
> From: Przemyslaw Wirkus
> Sent: 12 October 2021 10:10
> To: Binutils <binutils@sourceware.org>
> Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Marcus Shawcroft
> (Marcus.Shawcroft@arm.com) <Marcus.Shawcroft@arm.com>; Nick Clifton
> <nickc@redhat.com>
> Subject: RE: [PATCH][GAS] arm: enable Cortex-A710 CPU
> 
> Ping :)
> 
> > -----Original Message-----
> > From: Przemyslaw Wirkus
> > Sent: 04 October 2021 21:27
> > To: Binutils <binutils@sourceware.org>
> > Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Marcus Shawcroft
> > (Marcus.Shawcroft@arm.com) <Marcus.Shawcroft@arm.com>; Nick
> Clifton
> > <nickc@redhat.com>
> > Subject: [PATCH][GAS] arm: enable Cortex-A710 CPU
> >
> > This patch is adding support for Cortex-A710 CPU [0].
> >
> >   [0] https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a710
> >
> > OK for master?
> >
> > bfd/
> >
> > 2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> >
> > 	* cpu-arm.c (processors): Add cortex-a710.
> >
> > gas/
> >
> > 2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> >
> > 	* NEWS: Update docs.
> > 	* config/tc-arm.c (arm_cpus): Add cortex-a710 to -mcpu.
> > 	* doc/c-arm.texi: Update docs.
> > 	* testsuite/gas/arm/cpu-cortex-a710.d: New test.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][GAS] arm: enable Cortex-A710 CPU
  2021-10-04 20:26 [PATCH][GAS] arm: enable Cortex-A710 CPU Przemyslaw Wirkus
  2021-10-12  9:10 ` Przemyslaw Wirkus
@ 2021-11-10 12:03 ` Richard Earnshaw
  2021-11-10 14:15   ` Przemyslaw Wirkus
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Earnshaw @ 2021-11-10 12:03 UTC (permalink / raw)
  To: Przemyslaw Wirkus, Binutils; +Cc: Richard Earnshaw, Marcus Shawcroft



On 04/10/2021 21:26, Przemyslaw Wirkus via Binutils wrote:
> This patch is adding support for Cortex-A710 CPU [0].
> 
>    [0] https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a710
> 
> OK for master?
> 
> bfd/
> 
> 2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> 
> 	* cpu-arm.c (processors): Add cortex-a710.
> 
> gas/
> 
> 2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> 
> 	* NEWS: Update docs.
> 	* config/tc-arm.c (arm_cpus): Add cortex-a710 to -mcpu.
> 	* doc/c-arm.texi: Update docs.
> 	* testsuite/gas/arm/cpu-cortex-a710.d: New test.
> 

OK.

R.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][GAS] arm: enable Cortex-A710 CPU
  2021-11-10 12:03 ` Richard Earnshaw
@ 2021-11-10 14:15   ` Przemyslaw Wirkus
  0 siblings, 0 replies; 5+ messages in thread
From: Przemyslaw Wirkus @ 2021-11-10 14:15 UTC (permalink / raw)
  To: Richard Earnshaw, Binutils; +Cc: Richard Earnshaw, Marcus Shawcroft

> > This patch is adding support for Cortex-A710 CPU [0].
> > 
> >    [0] https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a710
> > 
> > OK for master?
> > 
> > bfd/
> > 
> > 2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> > 
> >        * cpu-arm.c (processors): Add cortex-a710.
> > 
> > gas/
> > 
> > 2021-10-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> > 
> >        * NEWS: Update docs.
> >        * config/tc-arm.c (arm_cpus): Add cortex-a710 to -mcpu.
> >        * doc/c-arm.texi: Update docs.
> >        * testsuite/gas/arm/cpu-cortex-a710.d: New test.

> OK.

> R.

commit 14f458590a51e9922c03bbb16f7e733db8015f98

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-10 14:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 20:26 [PATCH][GAS] arm: enable Cortex-A710 CPU Przemyslaw Wirkus
2021-10-12  9:10 ` Przemyslaw Wirkus
2021-11-08 21:28   ` Przemyslaw Wirkus
2021-11-10 12:03 ` Richard Earnshaw
2021-11-10 14:15   ` Przemyslaw Wirkus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).