diff options
author | Dominik Inführ <dominik.infuehr@theobroma-systems.com> | 2016-05-09 11:27:07 +0200 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2018-04-27 11:36:01 +0200 |
commit | 36989845c3814cb0fbb441eaca21039785fd54bc (patch) | |
tree | c027c78a2570c8d3f193739ad174ba49a96788bd | |
parent | 8bf8a9909e5fb3864254494cca6a76f72058c1fe (diff) |
aarch64: X-Gene: Adapt tuning struct for GCC 7.
* use generic_[addrcost/regmove]_cost
* use generic_approx_mode
* decrease memmove_cost to 4 (was 6)
* decrease issues_rate to 2 (was 4)
This should actually be 4 and we should use TARGET_SCHED_VARIABLE_ISSUE()
* relax function alignment to 8 (was 16)
* relax loop alignment to 4 (was 16)
* set max_case_values (switch-case) to 17 (was 0)
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 0cf58768775a..862492cdcb2e 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -737,23 +737,23 @@ static const struct tune_params thunderx_tunings = static const struct tune_params xgene1_tunings = { &xgene1_extra_costs, - &xgene1_addrcost_table, - &xgene1_regmove_cost, + &generic_addrcost_table, + &generic_regmove_cost, &xgene1_vector_cost, &generic_branch_cost, - &xgene1_approx_modes, - 6, /* memmov_cost */ - 4, /* issue_rate */ + &generic_approx_modes, + 4, /* memmov_cost */ + 2, /* issue_rate */ AARCH64_FUSE_NOTHING, /* fusible_ops */ - 16, /* function_align. */ + 8, /* function_align. */ 8, /* jump_align. */ - 16, /* loop_align. */ + 4, /* loop_align. */ 2, /* int_reassoc_width. */ 4, /* fp_reassoc_width. */ 1, /* vec_reassoc_width. */ 2, /* min_div_recip_mul_sf. */ 2, /* min_div_recip_mul_df. */ - 0, /* max_case_values. */ + 17, /* max_case_values. */ 0, /* cache_line_size. */ tune_params::AUTOPREFETCHER_OFF, /* autoprefetcher_model. */ (AARCH64_EXTRA_TUNE_NONE) /* tune_flags. */ |