aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2020-09-29 22:22:44 +0100
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2020-09-29 22:32:00 +0100
commit0eef5eea2b42d892df52b655e55458f27ac3fb81 (patch)
treeb73673b8867c266a507f68f1c7ba6fc9f220b54a /gcc
parentf836f3bc8f76ef3e3ad21762590302ad11abc9f8 (diff)
downloadgcc-0eef5eea2b42d892df52b655e55458f27ac3fb81.zip
gcc-0eef5eea2b42d892df52b655e55458f27ac3fb81.tar.gz
gcc-0eef5eea2b42d892df52b655e55458f27ac3fb81.tar.bz2
arm: add support for Cortex-X1
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/arm/arm-cpus.in11
-rw-r--r--gcc/config/arm/arm-tables.opt3
-rw-r--r--gcc/config/arm/arm-tune.md8
-rw-r--r--gcc/doc/invoke.texi2
4 files changed, 19 insertions, 5 deletions
diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in
index bf460dd..47a343d 100644
--- a/gcc/config/arm/arm-cpus.in
+++ b/gcc/config/arm/arm-cpus.in
@@ -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
diff --git a/gcc/config/arm/arm-tables.opt b/gcc/config/arm/arm-tables.opt
index b572063..dac8818 100644
--- a/gcc/config/arm/arm-tables.opt
+++ b/gcc/config/arm/arm-tables.opt
@@ -241,6 +241,9 @@ 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)
EnumValue
diff --git a/gcc/config/arm/arm-tune.md b/gcc/config/arm/arm-tune.md
index 2377037..86a117d 100644
--- a/gcc/config/arm/arm-tune.md
+++ b/gcc/config/arm/arm-tune.md
@@ -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)")))
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 200ecf7..274c17e 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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},