[aarch64] Update xgene1_addrcost_table.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Fri, 23 Nov 2018 17:49:26 +0000 (17:49 +0000)
committerPhilipp Tomsich <ptomsich@gcc.gnu.org>
Fri, 23 Nov 2018 17:49:26 +0000 (17:49 +0000)
2018-11-23  Christoph Muellner  <christoph.muellner@theobroma-systems.com>
            Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

* config/aarch64/aarch64.c (xgene1_addrcost_table): Correct the post modify
costs.

Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r266412

gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index 5b1cd907edda2087a896157b5a8d5307de32d48a..dd8d3f98b554f3e7ba63371dbd6ea757b4104101 100644 (file)
@@ -1,7 +1,10 @@
 2018-11-23  Christoph Muellner  <christoph.muellner@theobroma-systems.com>
+           Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
 
+       * 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  <rguenther@suse.de>
 
index 0d89ba27e4a7a02903d6cb3de6c19b097cb84d16..598ea7968e9bd16cb9de7dbde9a4c4013561a1e0 100644 (file)
@@ -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  */