From 0eada3216bc0eab65325bdcf0fee3584007830ff Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Tue, 6 Dec 2016 16:56:56 +0000 Subject: [PATCH] [ARM][committed] Sort ARMv8 processors by alphabetic order * config/arm/arm-cores.def (cortex-m23, cortex-m33): Move into alphabetical order with respect to other ARMv8 processors. * config/arm/arm-tables.opt: Regenerate. * config/arm/arm-tune.md: Likewise. From-SVN: r243306 --- gcc/ChangeLog | 7 +++++++ gcc/config/arm/arm-cores.def | 4 ++-- gcc/config/arm/arm-tables.opt | 12 ++++++------ gcc/config/arm/arm-tune.md | 6 +++--- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d405cfd6f9..662f145dc75 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2016-12-06 Kyrylo Tkachov + + * config/arm/arm-cores.def (cortex-m23, cortex-m33): Move into + alphabetical order with respect to other ARMv8 processors. + * config/arm/arm-tables.opt: Regenerate. + * config/arm/arm-tune.md: Likewise. + 2016-12-06 Robert Suchanek * config/mips/mips.c (mips_expand_builtin_insn): Check input diff --git a/gcc/config/arm/arm-cores.def b/gcc/config/arm/arm-cores.def index 3f77c718da7..fd96a41dfd2 100644 --- a/gcc/config/arm/arm-cores.def +++ b/gcc/config/arm/arm-cores.def @@ -166,14 +166,14 @@ ARM_CORE("cortex-a15.cortex-a7", cortexa15cortexa7, cortexa7, 7A, ARM_FSET_MAKE_ ARM_CORE("cortex-a17.cortex-a7", cortexa17cortexa7, cortexa7, 7A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_THUMB_DIV | FL_ARM_DIV | FL_FOR_ARCH7A), cortex_a12) /* V8 Architecture Processors */ -ARM_CORE("cortex-m23", cortexm23, cortexm23, 8M_BASE, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_FOR_ARCH8M_BASE), v6m) ARM_CORE("cortex-a32", cortexa32, cortexa53, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), cortex_a35) -ARM_CORE("cortex-m33", cortexm33, cortexm33, 8M_MAIN, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_ARCH7EM | FL_FOR_ARCH8M_MAIN), v7m) ARM_CORE("cortex-a35", cortexa35, cortexa53, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), cortex_a35) ARM_CORE("cortex-a53", cortexa53, cortexa53, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), cortex_a53) ARM_CORE("cortex-a57", cortexa57, cortexa57, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), cortex_a57) ARM_CORE("cortex-a72", cortexa72, cortexa57, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), cortex_a57) ARM_CORE("cortex-a73", cortexa73, cortexa57, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), cortex_a73) +ARM_CORE("cortex-m23", cortexm23, cortexm23, 8M_BASE, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_FOR_ARCH8M_BASE), v6m) +ARM_CORE("cortex-m33", cortexm33, cortexm33, 8M_MAIN, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_ARCH7EM | FL_FOR_ARCH8M_MAIN), v7m) ARM_CORE("exynos-m1", exynosm1, exynosm1, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), exynosm1) ARM_CORE("falkor", falkor, cortexa57, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), qdf24xx) ARM_CORE("qdf24xx", qdf24xx, cortexa57, 8A, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_CRC32 | FL_FOR_ARCH8A), qdf24xx) diff --git a/gcc/config/arm/arm-tables.opt b/gcc/config/arm/arm-tables.opt index b12e4588557..b5e12dc228e 100644 --- a/gcc/config/arm/arm-tables.opt +++ b/gcc/config/arm/arm-tables.opt @@ -306,15 +306,9 @@ Enum(processor_type) String(cortex-a15.cortex-a7) Value( TARGET_CPU_cortexa15cor EnumValue Enum(processor_type) String(cortex-a17.cortex-a7) Value( TARGET_CPU_cortexa17cortexa7) -EnumValue -Enum(processor_type) String(cortex-m23) Value( TARGET_CPU_cortexm23) - EnumValue Enum(processor_type) String(cortex-a32) Value( TARGET_CPU_cortexa32) -EnumValue -Enum(processor_type) String(cortex-m33) Value( TARGET_CPU_cortexm33) - EnumValue Enum(processor_type) String(cortex-a35) Value( TARGET_CPU_cortexa35) @@ -330,6 +324,12 @@ Enum(processor_type) String(cortex-a72) Value( TARGET_CPU_cortexa72) EnumValue Enum(processor_type) String(cortex-a73) Value( TARGET_CPU_cortexa73) +EnumValue +Enum(processor_type) String(cortex-m23) Value( TARGET_CPU_cortexm23) + +EnumValue +Enum(processor_type) String(cortex-m33) Value( TARGET_CPU_cortexm33) + EnumValue Enum(processor_type) String(exynos-m1) Value( TARGET_CPU_exynosm1) diff --git a/gcc/config/arm/arm-tune.md b/gcc/config/arm/arm-tune.md index 42a6d7a7527..4c929272fd7 100644 --- a/gcc/config/arm/arm-tune.md +++ b/gcc/config/arm/arm-tune.md @@ -32,9 +32,9 @@ cortexr4f,cortexr5,cortexr7, cortexr8,cortexm7,cortexm4, cortexm3,marvell_pj4,cortexa15cortexa7, - cortexa17cortexa7,cortexm23,cortexa32, - cortexm33,cortexa35,cortexa53, - cortexa57,cortexa72,cortexa73, + cortexa17cortexa7,cortexa32,cortexa35, + cortexa53,cortexa57,cortexa72, + cortexa73,cortexm23,cortexm33, exynosm1,falkor,qdf24xx, xgene1,cortexa57cortexa53,cortexa72cortexa53, cortexa73cortexa35,cortexa73cortexa53" -- 2.30.2