From: Renlin Li Date: Fri, 5 Dec 2014 18:00:55 +0000 (+0000) Subject: [AArch64]Clarify the usage of SCHED in AARCH64_CORE macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d86cb6d5c7952c22053b7199d57e0ede67d0e389;p=gcc.git [AArch64]Clarify the usage of SCHED in AARCH64_CORE macro gcc/ 2014-12-05 Renlin Li * config/aarch64/aarch64-opts.h (AARCH64_CORE): Rename IDENT to SCHED. * config/aarch64/aarch64.h (AARCH64_CORE): Likewise. * config/aarch64/aarch64.c (AARCH64_CORE): Rename X to IDENT, IDENT to SCHED. From-SVN: r218432 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88a29ebcd7c..2995e5121b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-12-05 Renlin Li + + * config/aarch64/aarch64-opts.h (AARCH64_CORE): Rename IDENT to SCHED. + * config/aarch64/aarch64.h (AARCH64_CORE): Likewise. + * config/aarch64/aarch64.c (AARCH64_CORE): Rename X to IDENT, + IDENT to SCHED. + 2014-12-05 Bin Cheng * config/aarch64/aarch64.md (load_pair): Split to diff --git a/gcc/config/aarch64/aarch64-opts.h b/gcc/config/aarch64/aarch64-opts.h index 370931536cc..c1fef2b9742 100644 --- a/gcc/config/aarch64/aarch64-opts.h +++ b/gcc/config/aarch64/aarch64-opts.h @@ -25,7 +25,7 @@ /* The various cores that implement AArch64. */ enum aarch64_processor { -#define AARCH64_CORE(NAME, INTERNAL_IDENT, IDENT, ARCH, FLAGS, COSTS) \ +#define AARCH64_CORE(NAME, INTERNAL_IDENT, SCHED, ARCH, FLAGS, COSTS) \ INTERNAL_IDENT, #include "aarch64-cores.def" #undef AARCH64_CORE diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 79a8679e748..e682edda86b 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -373,8 +373,8 @@ struct processor /* Processor cores implementing AArch64. */ static const struct processor all_cores[] = { -#define AARCH64_CORE(NAME, X, IDENT, ARCH, FLAGS, COSTS) \ - {NAME, IDENT, #ARCH, ARCH,\ +#define AARCH64_CORE(NAME, IDENT, SCHED, ARCH, FLAGS, COSTS) \ + {NAME, SCHED, #ARCH, ARCH,\ FLAGS | AARCH64_FL_FOR_ARCH##ARCH, &COSTS##_tunings}, #include "aarch64-cores.def" #undef AARCH64_CORE diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index bbe33a92983..8ed1f84fd4f 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -506,7 +506,7 @@ enum reg_class enum target_cpus { -#define AARCH64_CORE(NAME, INTERNAL_IDENT, IDENT, ARCH, FLAGS, COSTS) \ +#define AARCH64_CORE(NAME, INTERNAL_IDENT, SCHED, ARCH, FLAGS, COSTS) \ TARGET_CPU_##INTERNAL_IDENT, #include "aarch64-cores.def" #undef AARCH64_CORE