arm: Add support for Neoverse V1 CPU
authorAlex Coplan <alex.coplan@arm.com>
Wed, 23 Sep 2020 14:21:00 +0000 (15:21 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Wed, 23 Sep 2020 14:21:00 +0000 (15:21 +0100)
This adds support for Arm's Neoverse V1 CPU to the AArch32 backend.

---

gcc/ChangeLog:

* config/arm/arm-cpus.in (neoverse-v1): New.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/arm-tune.md: Regenerate.
* doc/invoke.texi: Document support for Neoverse V1.

gcc/config/arm/arm-cpus.in
gcc/config/arm/arm-tables.opt
gcc/config/arm/arm-tune.md
gcc/doc/invoke.texi

index c98f8ede8fdbb97b0f59b23d2e850e9976afadb0..4550694e138ecbfedb1f91645b9722cb52242f1d 100644 (file)
@@ -1478,6 +1478,16 @@ begin cpu cortex-a76.cortex-a55
  costs cortex_a57
 end cpu cortex-a76.cortex-a55
 
+# Armv8.4 A-profile Architecture Processors
+begin cpu neoverse-v1
+  cname neoversev1
+  tune for cortex-a57
+  tune flags LDSCHED
+  architecture armv8.4-a+bf16+i8mm
+  option crypto add FP_ARMv8 CRYPTO
+  costs cortex_a57
+end cpu neoverse-v1
+
 # V8 M-profile implementations.
 begin cpu cortex-m23
  cname cortexm23
index ce356611861173bc0a7b7843862dbe1383360769..1a7c31917844173f91581aa138df6a93d191fb60 100644 (file)
@@ -249,6 +249,9 @@ Enum(processor_type) String(cortex-a75.cortex-a55) Value( TARGET_CPU_cortexa75co
 EnumValue
 Enum(processor_type) String(cortex-a76.cortex-a55) Value( TARGET_CPU_cortexa76cortexa55)
 
+EnumValue
+Enum(processor_type) String(neoverse-v1) Value( TARGET_CPU_neoversev1)
+
 EnumValue
 Enum(processor_type) String(cortex-m23) Value( TARGET_CPU_cortexm23)
 
index 8ea9435c0c939c61e888b8b6cccb988c8d7029f6..3874f42a26b7eee64fe85bc3b158abca3fa85912 100644 (file)
@@ -46,6 +46,6 @@
        cortexa73cortexa53,cortexa55,cortexa75,
        cortexa76,cortexa76ae,cortexa77,
        neoversen1,cortexa75cortexa55,cortexa76cortexa55,
-       cortexm23,cortexm33,cortexm35p,
-       cortexm55,cortexr52"
+       neoversev1,cortexm23,cortexm33,
+       cortexm35p,cortexm55,cortexr52"
        (const (symbol_ref "((enum attr_tune) arm_tune)")))
index 1380146c574aa193de6f0a3fe0b2086ad2ea23c0..c17e5c67438830b9a88435ca4ccda059b7b95c9b 100644 (file)
@@ -19353,9 +19353,9 @@ Permissible names are: @samp{arm7tdmi}, @samp{arm7tdmi-s}, @samp{arm710t},
 @samp{cortex-m35p}, @samp{cortex-m55},
 @samp{cortex-m1.small-multiply}, @samp{cortex-m0.small-multiply},
 @samp{cortex-m0plus.small-multiply}, @samp{exynos-m1}, @samp{marvell-pj4},
-@samp{neoverse-n1}, @samp{xscale}, @samp{iwmmxt}, @samp{iwmmxt2},
-@samp{ep9312}, @samp{fa526}, @samp{fa626}, @samp{fa606te}, @samp{fa626te},
-@samp{fmp626}, @samp{fa726te}, @samp{xgene1}.
+@samp{neoverse-n1}, @samp{neoverse-v1}, @samp{xscale}, @samp{iwmmxt},
+@samp{iwmmxt2}, @samp{ep9312}, @samp{fa526}, @samp{fa626}, @samp{fa606te},
+@samp{fa626te}, @samp{fmp626}, @samp{fa726te}, @samp{xgene1}.
 
 Additionally, this option can specify that GCC should tune the performance
 of the code for a big.LITTLE system.  Permissible names are: