diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2016-09-02 10:09:58 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2016-09-07 22:08:29 +0200 |
commit | a445d9192b1c3e37350ac38f5f273f745fb3cbfd (patch) | |
tree | 29ed5200cfaa058ee53504c8b074b07638e69efe | |
parent | a7c74eef31eb345b44a373065ccc3f71dc5d340d (diff) |
gcc/
Backport from trunk r237884.
2016-06-30 Wilco Dijkstra <wdijkstr@arm.com>
* config/aarch64/aarch64.c (cortexa35_tunings):
Enable AES fusion. Use cortexa57_branch_cost.
(cortexa53_tunings): Use cortexa57_branch_cost.
(cortexa72_tunings): Use cortexa57_branch_cost.
Use AUTOPREFETCHER_WEAK.
(cortexa73_tunings): Use cortexa57_branch_cost.
Change-Id: Ic7f824ffc6b19c2761b0e9085109dc8961a1ef58
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 8d78100e8e6..b55d8aed223 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -516,11 +516,11 @@ static const struct tune_params cortexa35_tunings = &generic_addrcost_table, &cortexa53_regmove_cost, &generic_vector_cost, - &generic_branch_cost, + &cortexa57_branch_cost, &generic_approx_modes, 4, /* memmov_cost */ 1, /* issue_rate */ - (AARCH64_FUSE_MOV_MOVK | AARCH64_FUSE_ADRP_ADD + (AARCH64_FUSE_AES_AESMC | AARCH64_FUSE_MOV_MOVK | AARCH64_FUSE_ADRP_ADD | AARCH64_FUSE_MOVK_MOVK | AARCH64_FUSE_ADRP_LDR), /* fusible_ops */ 8, /* function_align. */ 8, /* jump_align. */ @@ -542,7 +542,7 @@ static const struct tune_params cortexa53_tunings = &generic_addrcost_table, &cortexa53_regmove_cost, &generic_vector_cost, - &generic_branch_cost, + &cortexa57_branch_cost, &generic_approx_modes, 4, /* memmov_cost */ 2, /* issue_rate */ @@ -594,7 +594,7 @@ static const struct tune_params cortexa72_tunings = &cortexa57_addrcost_table, &cortexa57_regmove_cost, &cortexa57_vector_cost, - &generic_branch_cost, + &cortexa57_branch_cost, &generic_approx_modes, 4, /* memmov_cost */ 3, /* issue_rate */ @@ -610,7 +610,7 @@ static const struct tune_params cortexa72_tunings = 2, /* min_div_recip_mul_df. */ 0, /* max_case_values. */ 0, /* cache_line_size. */ - tune_params::AUTOPREFETCHER_OFF, /* autoprefetcher_model. */ + tune_params::AUTOPREFETCHER_WEAK, /* autoprefetcher_model. */ (AARCH64_EXTRA_TUNE_NONE) /* tune_flags. */ }; @@ -620,7 +620,7 @@ static const struct tune_params cortexa73_tunings = &cortexa57_addrcost_table, &cortexa57_regmove_cost, &cortexa57_vector_cost, - &generic_branch_cost, + &cortexa57_branch_cost, &generic_approx_modes, 4, /* memmov_cost. */ 2, /* issue_rate. */ |