public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][GCC] arm: enable cortex-a710 CPU
@ 2021-10-18  9:39 Przemyslaw Wirkus
  2021-11-08 10:34 ` Przemyslaw Wirkus
  0 siblings, 1 reply; 4+ messages in thread
From: Przemyslaw Wirkus @ 2021-10-18  9:39 UTC (permalink / raw)
  To: gcc-patches; +Cc: Richard Earnshaw, Ramana Radhakrishnan, Kyrylo Tkachov, nickc

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

Hi, 

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?

gcc/ChangeLog:

	* config/arm/arm-cpus.in (cortex-a710): New CPU.
	* config/arm/arm-tables.opt: Regenerate.
	* config/arm/arm-tune.md: Regenerate.
	* doc/invoke.texi: Update docs.

-- 
kind regards, 
Przemyslaw Wirkus

Staff Compiler Engineer | Arm 
. . . . . . . . . . . . . . . . . . . . . . . . . .

Arm.com 

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: rb14905.patch --]
[-- Type: text/x-patch; name="rb14905.patch", Size: 2828 bytes --]

diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in
index 3756ba56c6ea36fa9d017347bd73b27ab7752325..a6a8e4319a69be0913281701f3a85610d637922e 100644
--- a/gcc/config/arm/arm-cpus.in
+++ b/gcc/config/arm/arm-cpus.in
@@ -1513,6 +1513,17 @@ begin cpu cortex-a78c
  part d4b
 end cpu cortex-a78c
 
+begin cpu cortex-a710
+ cname cortexa710
+ tune for cortex-a57
+ tune flags LDSCHED
+ architecture armv9-a+fp16+bf16+i8mm
+ option crypto add FP_ARMv8 CRYPTO
+ costs cortex_a57
+ vendor 41
+ part d47
+end cpu cortex-a710
+
 begin cpu cortex-x1
  cname cortexx1
  tune for cortex-a57
diff --git a/gcc/config/arm/arm-tables.opt b/gcc/config/arm/arm-tables.opt
index c00e252ec5aa0f1a9004718dbea3cf969a4e5be6..6e457fb250223eac22c033424dae406cb74b7df8 100644
--- a/gcc/config/arm/arm-tables.opt
+++ b/gcc/config/arm/arm-tables.opt
@@ -249,6 +249,9 @@ Enum(processor_type) String(cortex-a78ae) Value( TARGET_CPU_cortexa78ae)
 EnumValue
 Enum(processor_type) String(cortex-a78c) Value( TARGET_CPU_cortexa78c)
 
+EnumValue
+Enum(processor_type) String(cortex-a710) Value( TARGET_CPU_cortexa710)
+
 EnumValue
 Enum(processor_type) String(cortex-x1) Value( TARGET_CPU_cortexx1)
 
diff --git a/gcc/config/arm/arm-tune.md b/gcc/config/arm/arm-tune.md
index 6482833fc35b5758f66f2c7082e89c8ded250242..54e701f439b1a6f33267fd54248623755acef3b4 100644
--- a/gcc/config/arm/arm-tune.md
+++ b/gcc/config/arm/arm-tune.md
@@ -46,8 +46,9 @@ (define_attr "tune"
 	cortexa73cortexa53,cortexa55,cortexa75,
 	cortexa76,cortexa76ae,cortexa77,
 	cortexa78,cortexa78ae,cortexa78c,
-	cortexx1,neoversen1,cortexa75cortexa55,
-	cortexa76cortexa55,neoversev1,neoversen2,
-	cortexm23,cortexm33,cortexm35p,
-	cortexm55,cortexr52,cortexr52plus"
+	cortexa710,cortexx1,neoversen1,
+	cortexa75cortexa55,cortexa76cortexa55,neoversev1,
+	neoversen2,cortexm23,cortexm33,
+	cortexm35p,cortexm55,cortexr52,
+	cortexr52plus"
 	(const (symbol_ref "((enum attr_tune) arm_tune)")))
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index ce738e830a948016d89e456539fef5f5b18688fb..c5966de3231f9b50df68c0ad434789b0abe7f616 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -20477,7 +20477,7 @@ Permissible names are: @samp{arm7tdmi}, @samp{arm7tdmi-s}, @samp{arm710t},
 @samp{cortex-a32}, @samp{cortex-a35}, @samp{cortex-a53}, @samp{cortex-a55},
 @samp{cortex-a57}, @samp{cortex-a72}, @samp{cortex-a73}, @samp{cortex-a75},
 @samp{cortex-a76}, @samp{cortex-a76ae}, @samp{cortex-a77},
-@samp{cortex-a78}, @samp{cortex-a78ae}, @samp{cortex-a78c},
+@samp{cortex-a78}, @samp{cortex-a78ae}, @samp{cortex-a78c}, @samp{cortex-a710},
 @samp{ares}, @samp{cortex-r4}, @samp{cortex-r4f}, @samp{cortex-r5},
 @samp{cortex-r7}, @samp{cortex-r8}, @samp{cortex-r52}, @samp{cortex-r52plus},
 @samp{cortex-m0}, @samp{cortex-m0plus}, @samp{cortex-m1}, @samp{cortex-m3},

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

* RE: [PATCH][GCC] arm: enable cortex-a710 CPU
  2021-10-18  9:39 [PATCH][GCC] arm: enable cortex-a710 CPU Przemyslaw Wirkus
@ 2021-11-08 10:34 ` Przemyslaw Wirkus
  2021-11-08 10:41   ` Kyrylo Tkachov
  0 siblings, 1 reply; 4+ messages in thread
From: Przemyslaw Wirkus @ 2021-11-08 10:34 UTC (permalink / raw)
  To: gcc-patches; +Cc: Richard Earnshaw, Ramana Radhakrishnan, Kyrylo Tkachov, nickc

Ping :)

> -----Original Message-----
> From: Przemyslaw Wirkus
> Sent: 18 October 2021 10:40
> To: gcc-patches@gcc.gnu.org
> Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Ramana Radhakrishnan 
> <Ramana.Radhakrishnan@arm.com>; Kyrylo Tkachov 
> <Kyrylo.Tkachov@arm.com>; nickc@redhat.com
> Subject: [PATCH][GCC] arm: enable cortex-a710 CPU
> 
> Hi,
> 
> 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?
> 
> gcc/ChangeLog:
> 
> 	* config/arm/arm-cpus.in (cortex-a710): New CPU.
> 	* config/arm/arm-tables.opt: Regenerate.
> 	* config/arm/arm-tune.md: Regenerate.
> 	* doc/invoke.texi: Update docs.
> 
> --
> kind regards,
> Przemyslaw Wirkus
> 
> Staff Compiler Engineer | Arm
> . . . . . . . . . . . . . . . . . . . . . . . . . .
> 
> Arm.com

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

* RE: [PATCH][GCC] arm: enable cortex-a710 CPU
  2021-11-08 10:34 ` Przemyslaw Wirkus
@ 2021-11-08 10:41   ` Kyrylo Tkachov
  2021-11-10 14:13     ` Przemyslaw Wirkus
  0 siblings, 1 reply; 4+ messages in thread
From: Kyrylo Tkachov @ 2021-11-08 10:41 UTC (permalink / raw)
  To: Przemyslaw Wirkus, gcc-patches
  Cc: Richard Earnshaw, Ramana Radhakrishnan, nickc



> -----Original Message-----
> From: Przemyslaw Wirkus <Przemyslaw.Wirkus@arm.com>
> Sent: Monday, November 8, 2021 10:35 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Ramana
> Radhakrishnan <Ramana.Radhakrishnan@arm.com>; Kyrylo Tkachov
> <Kyrylo.Tkachov@arm.com>; nickc@redhat.com
> Subject: RE: [PATCH][GCC] arm: enable cortex-a710 CPU
> 
> Ping :)
> 
> > -----Original Message-----
> > From: Przemyslaw Wirkus
> > Sent: 18 October 2021 10:40
> > To: gcc-patches@gcc.gnu.org
> > Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Ramana
> Radhakrishnan
> > <Ramana.Radhakrishnan@arm.com>; Kyrylo Tkachov
> > <Kyrylo.Tkachov@arm.com>; nickc@redhat.com
> > Subject: [PATCH][GCC] arm: enable cortex-a710 CPU
> >
> > Hi,
> >
> > 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?

Ok.
Thanks,
Kyrill

> >
> > gcc/ChangeLog:
> >
> > 	* config/arm/arm-cpus.in (cortex-a710): New CPU.
> > 	* config/arm/arm-tables.opt: Regenerate.
> > 	* config/arm/arm-tune.md: Regenerate.
> > 	* doc/invoke.texi: Update docs.
> >
> > --
> > kind regards,
> > Przemyslaw Wirkus
> >
> > Staff Compiler Engineer | Arm
> > . . . . . . . . . . . . . . . . . . . . . . . . . .
> >
> > Arm.com


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

* Re: [PATCH][GCC] arm: enable cortex-a710 CPU
  2021-11-08 10:41   ` Kyrylo Tkachov
@ 2021-11-10 14:13     ` Przemyslaw Wirkus
  0 siblings, 0 replies; 4+ messages in thread
From: Przemyslaw Wirkus @ 2021-11-10 14:13 UTC (permalink / raw)
  To: Kyrylo Tkachov, gcc-patches; +Cc: Richard Earnshaw, Ramana Radhakrishnan, nickc

> > Hi,
> >
> > 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?

> Ok.
> Thanks,
> Kyrill

commit 9701f153f6dfcc365ac0d96cdcf7df69a2de81dc


> >
> > gcc/ChangeLog:
> >
> >      * config/arm/arm-cpus.in (cortex-a710): New CPU.
> >      * config/arm/arm-tables.opt: Regenerate.
> >      * config/arm/arm-tune.md: Regenerate.
> >      * doc/invoke.texi: Update docs.
> >
> > --
> > kind regards,
> > Przemyslaw Wirkus
> >
> > Staff Compiler Engineer | Arm
> > . . . . . . . . . . . . . . . . . . . . . . . . . .
> >
> > Arm.com

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18  9:39 [PATCH][GCC] arm: enable cortex-a710 CPU Przemyslaw Wirkus
2021-11-08 10:34 ` Przemyslaw Wirkus
2021-11-08 10:41   ` Kyrylo Tkachov
2021-11-10 14:13     ` 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).