diff options
author | Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> | 2020-12-17 20:58:39 +0000 |
---|---|---|
committer | Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> | 2020-12-17 20:58:39 +0000 |
commit | 35b8d268746362fa66e297c4ae152a9cfafd4bb0 (patch) | |
tree | 7f815763d435d8926e0a84515ea58cd621dce0bf /gcc | |
parent | 00bad763dcb903103d62e1ef77c542dacf31fc0a (diff) | |
download | gcc-35b8d268746362fa66e297c4ae152a9cfafd4bb0.zip gcc-35b8d268746362fa66e297c4ae152a9cfafd4bb0.tar.gz gcc-35b8d268746362fa66e297c4ae152a9cfafd4bb0.tar.bz2 |
arm: Add support for Cortex-A78C
This patch adds support for -mcpu=cortex-a78c command line option.
For more information about this processor, see [0]:
[0] https://developer.arm.com/ip-products/processors/cortex-a/cortex-a78c
gcc/ChangeLog:
* config/arm/arm-cpus.in: Add Cortex-A78C 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.in | 11 | ||||
-rw-r--r-- | gcc/config/arm/arm-tables.opt | 3 | ||||
-rw-r--r-- | gcc/config/arm/arm-tune.md | 10 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 2 |
4 files changed, 20 insertions, 6 deletions
diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in index 8c61ad0..896948f 100644 --- a/gcc/config/arm/arm-cpus.in +++ b/gcc/config/arm/arm-cpus.in @@ -1477,6 +1477,17 @@ begin cpu cortex-a78ae part d42 end cpu cortex-a78ae +begin cpu cortex-a78c + cname cortexa78c + 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 d4b +end cpu cortex-a78c + 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 05f5c08..8637933 100644 --- a/gcc/config/arm/arm-tables.opt +++ b/gcc/config/arm/arm-tables.opt @@ -247,6 +247,9 @@ EnumValue 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-x1) Value( TARGET_CPU_cortexx1) EnumValue diff --git a/gcc/config/arm/arm-tune.md b/gcc/config/arm/arm-tune.md index 32657da..e10d73e 100644 --- a/gcc/config/arm/arm-tune.md +++ b/gcc/config/arm/arm-tune.md @@ -45,9 +45,9 @@ cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35, cortexa73cortexa53,cortexa55,cortexa75, cortexa76,cortexa76ae,cortexa77, - cortexa78,cortexa78ae,cortexx1, - neoversen1,cortexa75cortexa55,cortexa76cortexa55, - neoversev1,neoversen2,cortexm23, - cortexm33,cortexm35p,cortexm55, - cortexr52" + cortexa78,cortexa78ae,cortexa78c, + cortexx1,neoversen1,cortexa75cortexa55, + cortexa76cortexa55,neoversev1,neoversen2, + 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 8766bcd..15e3d55 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -19989,7 +19989,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-a78}, @samp{cortex-a78ae}, @samp{cortex-a78c}, @samp{ares}, @samp{cortex-r4}, @samp{cortex-r4f}, @samp{cortex-r5}, @samp{cortex-r7}, @samp{cortex-r8}, @samp{cortex-r52}, @samp{cortex-m0}, @samp{cortex-m0plus}, @samp{cortex-m1}, @samp{cortex-m3}, |