aarch64.c (thunderx2t99_addrcost_table): Improve cost table.
authorAndrew Pinski <apinski@cavium.com>
Tue, 24 Jan 2017 02:17:33 +0000 (02:17 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 24 Jan 2017 02:17:33 +0000 (18:17 -0800)
2017-01-23  Andrew Pinski  <apinski@cavium.com>

        * config/aarch64/aarch64.c (thunderx2t99_addrcost_table): Improve
        cost table.

From-SVN: r244851

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

index aa0f4f3477a438bd0a0f9782ce253fbf52a490ba..1ec127c160be230491032fc92a2cf919781702d1 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-23  Andrew Pinski  <apinski@cavium.com>
+
+       * config/aarch64/aarch64.c (thunderx2t99_addrcost_table): Improve
+       cost table.
+
 2017-01-23  Martin Sebor  <msebor@redhat.com>
 
        PR middle-end/78703
index 4607a3501e48c46ba6ee3bdd88b8f0d93da48853..f343d92f9f529b8874ec3c486d91d079315514bf 100644 (file)
@@ -273,9 +273,9 @@ static const struct cpu_addrcost_table qdf24xx_addrcost_table =
 static const struct cpu_addrcost_table thunderx2t99_addrcost_table =
 {
     {
-      0, /* hi  */
-      0, /* si  */
-      0, /* di  */
+      1, /* hi  */
+      1, /* si  */
+      1, /* di  */
       2, /* ti  */
     },
   0, /* pre_modify  */