From 52ddefd88c0ea53a122820bb8bffe6d74cb7b8b4 Mon Sep 17 00:00:00 2001 From: Christoph Muellner Date: Fri, 23 Nov 2018 17:49:26 +0000 Subject: [PATCH] [aarch64] Update xgene1_addrcost_table. 2018-11-23 Christoph Muellner Philipp Tomsich * config/aarch64/aarch64.c (xgene1_addrcost_table): Correct the post modify costs. Co-Authored-By: Philipp Tomsich From-SVN: r266412 --- gcc/ChangeLog | 5 ++++- gcc/config/aarch64/aarch64.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b1cd907edd..dd8d3f98b55 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,10 @@ 2018-11-23 Christoph Muellner + Philipp Tomsich + * config/aarch64/aarch64.c (xgene1_addrcost_table): Correct the post-modify + costs. * config/arm/aarch-cost-tables.h (xgene1_extra_costs): Update the cost table - for Xgene1. + for XGene1. 2018-11-23 Richard Biener diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 0d89ba27e4a..598ea7968e9 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -254,7 +254,7 @@ static const struct cpu_addrcost_table xgene1_addrcost_table = 1, /* ti */ }, 1, /* pre_modify */ - 0, /* post_modify */ + 1, /* post_modify */ 0, /* register_offset */ 1, /* register_sextend */ 1, /* register_zextend */ -- 2.30.2