diff options
author | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2018-08-07 15:46:32 +0200 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2018-10-15 11:03:12 +0200 |
commit | ddba1553ac412be5596e6e2962c148032c4cf231 (patch) | |
tree | a8ffdd97be6b0d5294381138381bc407d8322a69 | |
parent | 74610471b3577c5d465c3fd095a65b796b1e074c (diff) |
[AArch64] Add Xgene1 prefetch tunings.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 0a1bd809df78..121630ff25be 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -615,6 +615,15 @@ static const cpu_prefetch_tune thunderx2t99_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 */ + -1 /* default_opt_level */ +}; + static const struct tune_params generic_tunings = { &cortexa57_extra_costs, @@ -870,7 +879,7 @@ static const struct tune_params xgene1_tunings = 0, /* max_case_values. */ tune_params::AUTOPREFETCHER_OFF, /* autoprefetcher_model. */ (AARCH64_EXTRA_TUNE_NONE), /* tune_flags. */ - &generic_prefetch_tune + &xgene1_prefetch_tune }; static const struct tune_params emag_tunings = |