Update prefetch tuning parameters for qdf24xx.
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Fri, 16 Jun 2017 09:31:00 +0000 (09:31 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Fri, 16 Jun 2017 09:31:00 +0000 (09:31 +0000)
* config/aarch64/aarch64.c (qdf24xx_prefetch_tune): Update
prefetch settings, and enable prefetching by default at -O3.

Change-Id: I2f0da54a8c262f6fbd0dcfde4584141bb09f1013

From-SVN: r249242

gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index 0ed2ac1373cc1da932f23cd1cd0018e59d0ae057..219dc1230e140be5a66ed07b815472c4086bb02d 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-16  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
+
+        * config/aarch64/aarch64.c (qdf24xx_prefetch_tune): Update
+        prefetch settings, and enable prefetching by default at -O3.
+
 2017-06-16  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
 
         * config/aarch64/aarch64.c (aarch64_override_options_internal):
index 324a0f1fea5bee8bf2255c94f51b5697c1a5af64..04417dcd609f6e8ff594a9c5853b3143696d3208 100644 (file)
@@ -547,11 +547,11 @@ static const cpu_prefetch_tune exynosm1_prefetch_tune =
 
 static const cpu_prefetch_tune qdf24xx_prefetch_tune =
 {
-  0,                   /* num_slots  */
-  -1,                  /* l1_cache_size  */
+  4,                   /* num_slots  */
+  32,                  /* l1_cache_size  */
   64,                  /* l1_cache_line_size  */
-  -1,                  /* l2_cache_size  */
-  -1                   /* default_opt_level  */
+  1024,                        /* l2_cache_size  */
+                     /* default_opt_level  */
 };
 
 static const cpu_prefetch_tune thunderx2t99_prefetch_tune =