[AArch64]Use AARCH64_FL_FPSIMD flags for all cores in aarch64-cores.def
authorRenlin Li <renlin.li@arm.com>
Thu, 11 Dec 2014 17:30:39 +0000 (17:30 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Thu, 11 Dec 2014 17:30:39 +0000 (17:30 +0000)
gcc/

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

* config/aarch64/aarch64-cores.def: Change all AARCH64_FL_FPSIMD to
AARCH64_FL_FOR_ARCH8.
* config/aarch64/aarch64.c (all_cores): Use FLAGS from
aarch64-cores.def file only.

From-SVN: r218635

gcc/ChangeLog
gcc/config/aarch64/aarch64-cores.def
gcc/config/aarch64/aarch64.c

index d68906701e225d5c1fed046a32dbaff60abece83..533828f413fec523417000fa6373e77a190d0099 100644 (file)
@@ -1,3 +1,10 @@
+2014-12-11  Renlin Li  <renlin.li@arm.com>
+
+       * config/aarch64/aarch64-cores.def: Change all AARCH64_FL_FPSIMD to
+       AARCH64_FL_FOR_ARCH8.
+       * config/aarch64/aarch64.c (all_cores): Use FLAGS from
+       aarch64-cores.def file only.
+
 2014-12-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
        PR fortran/44054
index 312941f02995f5451afefbedd045fbb76f313a1a..110b41f0190e6ad535a87293e7a2818f3b7341c6 100644 (file)
 
 /* V8 Architecture Processors.  */
 
-AARCH64_CORE("cortex-a53",  cortexa53, cortexa53, 8,  AARCH64_FL_FPSIMD | AARCH64_FL_CRC, cortexa53)
-AARCH64_CORE("cortex-a57",  cortexa15, cortexa15, 8,  AARCH64_FL_FPSIMD | AARCH64_FL_CRC, cortexa57)
-AARCH64_CORE("thunderx",    thunderx,  thunderx, 8,  AARCH64_FL_FPSIMD | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx)
+AARCH64_CORE("cortex-a53",  cortexa53, cortexa53, 8,  AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa53)
+AARCH64_CORE("cortex-a57",  cortexa15, cortexa15, 8,  AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa57)
+AARCH64_CORE("thunderx",    thunderx,  thunderx, 8,  AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx)
 
 /* V8 big.LITTLE implementations.  */
 
-AARCH64_CORE("cortex-a57.cortex-a53",  cortexa57cortexa53, cortexa53, 8,  AARCH64_FL_FPSIMD | AARCH64_FL_CRC, cortexa57)
+AARCH64_CORE("cortex-a57.cortex-a53",  cortexa57cortexa53, cortexa53, 8,  AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa57)
index 831ec0853680215654075ebae8c8d565bde08865..e1d1ad4b526576388a9e1c025dff0914e142b95b 100644 (file)
@@ -387,12 +387,10 @@ struct processor
 static const struct processor all_cores[] =
 {
 #define AARCH64_CORE(NAME, IDENT, SCHED, ARCH, FLAGS, COSTS) \
-  {NAME, SCHED, #ARCH, ARCH,\
-    FLAGS | AARCH64_FL_FOR_ARCH##ARCH, &COSTS##_tunings},
+  {NAME, SCHED, #ARCH, ARCH, FLAGS, &COSTS##_tunings},
 #include "aarch64-cores.def"
 #undef AARCH64_CORE
-  {"generic", cortexa53, "8", 8,\
-    AARCH64_FL_FPSIMD | AARCH64_FL_FOR_ARCH8, &generic_tunings},
+  {"generic", cortexa53, "8", 8, AARCH64_FL_FOR_ARCH8, &generic_tunings},
   {NULL, aarch64_none, NULL, 0, 0, NULL}
 };