[AArch64]Clarify the usage of SCHED in AARCH64_CORE macro
authorRenlin Li <renlin.li@arm.com>
Fri, 5 Dec 2014 18:00:55 +0000 (18:00 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Fri, 5 Dec 2014 18:00:55 +0000 (18:00 +0000)
gcc/

2014-12-05  Renlin Li  <renlin.li@arm.com>

* 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

gcc/ChangeLog
gcc/config/aarch64/aarch64-opts.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h

index 88a29ebcd7c75329823345fa5090025918c5249f..2995e5121b7c50ca4188d55f5c00149906057a92 100644 (file)
@@ -1,3 +1,10 @@
+2014-12-05  Renlin Li  <renlin.li@arm.com>
+
+       * 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  <bin.cheng@arm.com>
 
        * config/aarch64/aarch64.md (load_pair<mode>): Split to
index 370931536cce493ddecfa3b0fc6a447c518dd15a..c1fef2b9742be05f2f0a90063279ab25406cf4d6 100644 (file)
@@ -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
index 79a8679e7485575e70a6c742e41471718bfce8dd..e682edda86b412b8b4c933fe9cd98ada52145a8f 100644 (file)
@@ -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
index bbe33a92983566d0669b0681b79cb20da4f742c1..8ed1f84fd4f2fc5c1336e2ebd0ac9f7849e5b6a8 100644 (file)
@@ -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