arm: Fix ordering in arm-cpus.in
authorAlex Coplan <alex.coplan@arm.com>
Thu, 1 Oct 2020 11:30:09 +0000 (12:30 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Thu, 1 Oct 2020 11:31:52 +0000 (12:31 +0100)
This moves the recent entry for Neoverse N2 down and adds a comment in
order to preserve the existing order/structure in arm-cpus.in.

gcc/ChangeLog:

* config/arm/arm-cpus.in: Fix ordering, move Neoverse N2 down.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/arm-tune.md: Regenerate.

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

index d47f9439ed1ddd8c72619cbc2152acfafbedd510..9abb59a00ba85527f459edd1a64dbdf3618684dd 100644 (file)
@@ -1492,17 +1492,6 @@ begin cpu neoverse-n1
  part d0c
 end cpu neoverse-n1
 
-begin cpu neoverse-n2
-  cname neoversen2
-  tune for cortex-a57
-  tune flags LDSCHED
-  architecture armv8.5-a+fp16+bf16+i8mm
-  option crypto add FP_ARMv8 CRYPTO
-  costs cortex_a57
-  vendor 41
-  part 0xd49
-end cpu neoverse-n2
-
 # ARMv8.2 A-profile ARM DynamIQ big.LITTLE implementations
 begin cpu cortex-a75.cortex-a55
  cname cortexa75cortexa55
@@ -1532,6 +1521,18 @@ begin cpu neoverse-v1
   costs cortex_a57
 end cpu neoverse-v1
 
+# Armv8.5 A-profile Architecture Processors
+begin cpu neoverse-n2
+  cname neoversen2
+  tune for cortex-a57
+  tune flags LDSCHED
+  architecture armv8.5-a+fp16+bf16+i8mm
+  option crypto add FP_ARMv8 CRYPTO
+  costs cortex_a57
+  vendor 41
+  part 0xd49
+end cpu neoverse-n2
+
 # V8 M-profile implementations.
 begin cpu cortex-m23
  cname cortexm23
index 9f6582440534c7772fa66ea99dacfd9e80ae8597..05f5c08400b920ddd944c0a02c995670ccf7a1e4 100644 (file)
@@ -252,9 +252,6 @@ Enum(processor_type) String(cortex-x1) Value( TARGET_CPU_cortexx1)
 EnumValue
 Enum(processor_type) String(neoverse-n1) Value( TARGET_CPU_neoversen1)
 
-EnumValue
-Enum(processor_type) String(neoverse-n2) Value( TARGET_CPU_neoversen2)
-
 EnumValue
 Enum(processor_type) String(cortex-a75.cortex-a55) Value( TARGET_CPU_cortexa75cortexa55)
 
@@ -264,6 +261,9 @@ Enum(processor_type) String(cortex-a76.cortex-a55) Value( TARGET_CPU_cortexa76co
 EnumValue
 Enum(processor_type) String(neoverse-v1) Value( TARGET_CPU_neoversev1)
 
+EnumValue
+Enum(processor_type) String(neoverse-n2) Value( TARGET_CPU_neoversen2)
+
 EnumValue
 Enum(processor_type) String(cortex-m23) Value( TARGET_CPU_cortexm23)
 
index 269e627626a4675d561daa0a8cb8b992d79e17d1..32657da48a5fdd1b7823231eb56d27572b29a417 100644 (file)
@@ -46,8 +46,8 @@
        cortexa73cortexa53,cortexa55,cortexa75,
        cortexa76,cortexa76ae,cortexa77,
        cortexa78,cortexa78ae,cortexx1,
-       neoversen1,neoversen2,cortexa75cortexa55,
-       cortexa76cortexa55,neoversev1,cortexm23,
+       neoversen1,cortexa75cortexa55,cortexa76cortexa55,
+       neoversev1,neoversen2,cortexm23,
        cortexm33,cortexm35p,cortexm55,
        cortexr52"
        (const (symbol_ref "((enum attr_tune) arm_tune)")))