This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 3/4] [aarch64] Add xgene1 prefetch tunings.
- From: Christoph Muellner <christoph dot muellner at theobroma-systems dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>, Philipp Tomsich <philipp dot tomsich at theobroma-systems dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, James Greenhalgh <James dot Greenhalgh at arm dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Christoph Muellner <christoph dot muellner at theobroma-systems dot com>
- Date: Mon, 12 Nov 2018 20:14:57 +0100
- Subject: [PATCH 3/4] [aarch64] Add xgene1 prefetch tunings.
- References: <20181112191458.32635-1-christoph.muellner@theobroma-systems.com>
*** gcc/ChangeLog ***
2018-xx-xx Christoph Muellner <christoph.muellner@theobroma-systems.com>
* config/aarch64/aarch64.c (xgene1_tunings): Add Xgene1 specific
prefetch tunings.
---
gcc/config/aarch64/aarch64.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index a6bc1fb..903f4e2 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -662,6 +662,17 @@ static const cpu_prefetch_tune tsv110_prefetch_tune =
-1 /* default_opt_level */
};
+static const cpu_prefetch_tune xgene1_prefetch_tune =
+{
+ 8, /* num_slots */
+ 32, /* l1_cache_size */
+ 64, /* l1_cache_line_size */
+ 256, /* l2_cache_size */
+ true, /* prefetch_dynamic_strides */
+ -1, /* minimum_stride */
+ -1 /* default_opt_level */
+};
+
static const struct tune_params generic_tunings =
{
&cortexa57_extra_costs,
@@ -943,7 +954,7 @@ static const struct tune_params xgene1_tunings =
0, /* max_case_values. */
tune_params::AUTOPREFETCHER_OFF, /* autoprefetcher_model. */
(AARCH64_EXTRA_TUNE_NO_LDP_STP_QREGS), /* tune_flags. */
- &generic_prefetch_tune
+ &xgene1_prefetch_tune
};
static const struct tune_params qdf24xx_tunings =
--
2.9.5