From 5b2c32418442289874c1deb844e9964a7a704566 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 10 May 2017 07:35:01 +0000 Subject: gcc/ Backport from trunk r247606. 2017-05-04 Wilco Dijkstra * config/aarch64/aarch64.c (generic_addrcost_table): Change HI/TI mode setting. gcc/ Backport from trunk r247608. 2017-05-04 Wilco Dijkstra * config/aarch64/aarch64.c (generic_tunings): Set jump alignment to 4. Set loop alignment to 8. gcc/ Backport from trunk r247610. 2017-05-04 Wilco Dijkstra * config/aarch64/aarch64.c (generic_tunings): Update prefetch model. Change-Id: I45ed7ee8fcef76884dbd4f09369a8a4fbabe294e --- gcc/config/aarch64/aarch64.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index b760905ce3b..b11420a2c39 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -193,10 +193,10 @@ static const struct aarch64_flag_desc aarch64_tuning_flags[] = static const struct cpu_addrcost_table generic_addrcost_table = { { - 0, /* hi */ + 1, /* hi */ 0, /* si */ 0, /* di */ - 0, /* ti */ + 1, /* ti */ }, 0, /* pre_modify */ 0, /* post_modify */ @@ -538,8 +538,8 @@ static const struct tune_params generic_tunings = 2, /* issue_rate */ (AARCH64_FUSE_AES_AESMC), /* fusible_ops */ 8, /* function_align. */ - 8, /* jump_align. */ - 4, /* loop_align. */ + 4, /* jump_align. */ + 8, /* loop_align. */ 2, /* int_reassoc_width. */ 4, /* fp_reassoc_width. */ 1, /* vec_reassoc_width. */ @@ -547,7 +547,7 @@ static const struct tune_params generic_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. */ }; -- cgit v1.2.3