aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2017-11-17 16:03:37 +0000
committerLuis Machado <luisgpm@gcc.gnu.org>2017-11-17 16:03:37 +0000
commit4f2a94e68ebd12c85a98c4cf3e840c61094aad34 (patch)
tree2deacaf23158733b8502eaaea06832cf11da0d84 /gcc
parentec132ef20c94c5bc72cdf27138cdff2e0c96800e (diff)
downloadgcc-4f2a94e68ebd12c85a98c4cf3e840c61094aad34.zip
gcc-4f2a94e68ebd12c85a98c4cf3e840c61094aad34.tar.gz
gcc-4f2a94e68ebd12c85a98c4cf3e840c61094aad34.tar.bz2
[AArch64] Adjust tuning parameters for Falkor
Disabling software prefetching and switching the autoprefetcher to weak improves CPU2017 rate and speed benchmarks for both int and fp sets on Falkor. SPECrate 2017 fp is up 0.38% SPECspeed 2017 fp is up 0.54% SPECrate 2017 int is up 3.02% SPECspeed 2017 int is up 3.16% There are only a couple individual regressions. The biggest one being about 4% in parest. For SPEC2006, we've noticed the following: SPECint is up 0.91% SPECfp is stable In the case of SPEC2006 we noticed both a big regression in mcf (about 20%) and a big improvement for hmmer (about 40%). Since the overall result is positive, we would like to make these new tuning settings the default for Falkor. We may revisit the software prefetcher setting in the future, in case we can adjust it enough so it provides us a good balance between improvements and regressions (mcf). But for now it is best if it stays off. 2017-11-17 Luis Machado <luis.machado@linaro.org> gcc/ * config/aarch64/aarch64.c (qdf24xx_prefetch_tune) <default_opt_level>: Set to -1. (qdf24xx_tunings) <autoprefetcher_model>: Set to tune_params::AUTOPREFETCHER_WEAK. From-SVN: r254879
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/aarch64/aarch64.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a7954d2..38101fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2017-11-17 Luis Machado <luis.machado@linaro.org>
+
+ * config/aarch64/aarch64.c
+ (qdf24xx_prefetch_tune) <default_opt_level>: Set to -1.
+ (qdf24xx_tunings) <autoprefetcher_model>: Set to
+ tune_params::AUTOPREFETCHER_WEAK.
+
2017-11-17 Tamar Christina <tamar.christina@arm.com>
PR target/82641
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 0c67e2b..8779cad 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -508,7 +508,7 @@ static const cpu_prefetch_tune qdf24xx_prefetch_tune =
32, /* l1_cache_size */
64, /* l1_cache_line_size */
1024, /* l2_cache_size */
- 3 /* default_opt_level */
+ -1 /* default_opt_level */
};
static const cpu_prefetch_tune thunderxt88_prefetch_tune =
@@ -817,7 +817,7 @@ static const struct tune_params qdf24xx_tunings =
2, /* min_div_recip_mul_sf. */
2, /* min_div_recip_mul_df. */
0, /* max_case_values. */
- tune_params::AUTOPREFETCHER_STRONG, /* autoprefetcher_model. */
+ tune_params::AUTOPREFETCHER_WEAK, /* autoprefetcher_model. */
(AARCH64_EXTRA_TUNE_NONE), /* tune_flags. */
&qdf24xx_prefetch_tune
};