This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][ARM][committed] Fix bootstrap: Initialise fields in Cortex-A8 tuning struct


Hi all,

As mentioned in http://gcc.gnu.org/ml/gcc/2014-04/msg00227.html we need to initialise the two fields recently added to the tuning structs for the recently added Cortex-A8 structs.

I've committed the attached patch as an obvious fix as r209806.

Tested and bootstrapped on arm-none-linux-gnueabihf.

Thanks,
Kyrill

2014-04-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

    * config/arm/arm.c (arm_cortex_a8_tune): Initialise
    T16-related fields.
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 240d9b9..3af46f4 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -1715,7 +1715,8 @@ const struct tune_params arm_cortex_a8_tune =
   false,					/* Prefer LDRD/STRD.  */
   {true, true},					/* Prefer non short circuit.  */
   &arm_default_vec_cost,                        /* Vectorizer costs.  */
-  false                                         /* Prefer Neon for 64-bits bitops.  */
+  false,                                        /* Prefer Neon for 64-bits bitops.  */
+  false, false                                  /* Prefer 32-bit encodings.  */
 };
 
 const struct tune_params arm_cortex_a7_tune =

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]