arm: add support for Cortex-X1
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Tue, 29 Sep 2020 21:22:44 +0000 (22:22 +0100)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Tue, 29 Sep 2020 21:32:00 +0000 (22:32 +0100)
This adds support for the Arm Cortex-X1 CPU. For more information about this
processor, see [0].

[0] : https://www.arm.com/products/cortex-x

gcc/ChangeLog:

* config/arm/arm-cpus.in: Add Cortex-X1 core.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/arm-tune.md: Regenerate.
* doc/invoke.texi: Update docs.

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

index bf460ddbcafd6281d94a309f0fc94320d01cf0d0..47a343db6564189191f65ab1b219825f2d907330 100644 (file)
@@ -1447,6 +1447,17 @@ begin cpu cortex-a77
  part d0d
 end cpu cortex-a77
 
+begin cpu cortex-x1
+ cname cortexx1
+ tune for cortex-a57
+ tune flags LDSCHED
+ architecture armv8.2-a+fp16+dotprod
+ option crypto add FP_ARMv8 CRYPTO
+ costs cortex_a57
+ vendor 41
+ part d44
+end cpu cortex-x1
+
 begin cpu neoverse-n1
  cname neoversen1
  alias !ares
index b57206313e20a60511670533a6f002caccc5f252..dac881874f82dd60c68e7e5f610d202814635c1b 100644 (file)
@@ -240,6 +240,9 @@ Enum(processor_type) String(cortex-a76ae) Value( TARGET_CPU_cortexa76ae)
 EnumValue
 Enum(processor_type) String(cortex-a77) Value( TARGET_CPU_cortexa77)
 
+EnumValue
+Enum(processor_type) String(cortex-x1) Value( TARGET_CPU_cortexx1)
+
 EnumValue
 Enum(processor_type) String(neoverse-n1) Value( TARGET_CPU_neoversen1)
 
index 2377037bf7dcf7a6951474b7b0b5e746a73d307d..86a117d68cec4ae7e4f05db8866b88e15f5de953 100644 (file)
@@ -45,8 +45,8 @@
        cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,
        cortexa73cortexa53,cortexa55,cortexa75,
        cortexa76,cortexa76ae,cortexa77,
-       neoversen1,neoversen2,cortexa75cortexa55,
-       cortexa76cortexa55,neoversev1,cortexm23,
-       cortexm33,cortexm35p,cortexm55,
-       cortexr52"
+       cortexx1,neoversen1,neoversen2,
+       cortexa75cortexa55,cortexa76cortexa55,neoversev1,
+       cortexm23,cortexm33,cortexm35p,
+       cortexm55,cortexr52"
        (const (symbol_ref "((enum attr_tune) arm_tune)")))
index 200ecf7bbf8c2701595d08c8f1a819c96f872d30..274c17ec17a874c2de8c6e982da1fa4999ff18fe 100644 (file)
@@ -19379,7 +19379,7 @@ Permissible names are: @samp{arm7tdmi}, @samp{arm7tdmi-s}, @samp{arm710t},
 @samp{cortex-r5}, @samp{cortex-r7}, @samp{cortex-r8}, @samp{cortex-r52},
 @samp{cortex-m0}, @samp{cortex-m0plus}, @samp{cortex-m1}, @samp{cortex-m3},
 @samp{cortex-m4}, @samp{cortex-m7}, @samp{cortex-m23}, @samp{cortex-m33},
-@samp{cortex-m35p}, @samp{cortex-m55},
+@samp{cortex-m35p}, @samp{cortex-m55}, @samp{cortex-x1},
 @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{neoverse-n2}, @samp{neoverse-v1}, @samp{xscale},