re PR target/91654 (Regressions of SPEC2017 rate caused by r274994)
authorUros Bizjak <ubizjak@gmail.com>
Fri, 6 Sep 2019 19:27:58 +0000 (21:27 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 6 Sep 2019 19:27:58 +0000 (21:27 +0200)
PR target/91654
* config/i386/x86-tune-costs.h (skylake_cost): Raise the
cost of SSE->integer and integer->SSE moves from 2 to 6.
(core_cost): Ditto.

From-SVN: r275475

gcc/ChangeLog
gcc/config/i386/x86-tune-costs.h

index 7d5a2721786dc06b9e4804f00b8f895e61d382eb..86e8ab642d59965c64373bc3bb64d8e630c5bbac 100644 (file)
@@ -1,3 +1,10 @@
+2019-09-06  Uroš Bizjak  <ubizjak@gmail.com>
+
+       PR target/91654
+       * config/i386/x86-tune-costs.h (skylake_cost): Raise the
+       cost of SSE->integer and integer->SSE moves from 2 to 6.
+       (core_cost): Ditto.
+
 2019-09-06  Jakub Jelinek  <jakub@redhat.com>
 
        * function.c (assign_parm_find_data_types): Use RECORD_OR_UNION_TYPE_P
index 3381b8bf143c5175b5d3f22b9be272708725f766..00edece3eb68a215f7ea851a9826471b6d8c9cd1 100644 (file)
@@ -1610,7 +1610,7 @@ struct processor_costs skylake_cost = {
                                           in 32,64,128,256 and 512-bit */
   {8, 8, 8, 12, 24},                   /* cost of storing SSE registers
                                           in 32,64,128,256 and 512-bit */
-  2, 2,                                        /* SSE->integer and integer->SSE moves */
+  6, 6,                                        /* SSE->integer and integer->SSE moves */
   /* End of register allocator costs.  */
   },
 
@@ -2555,7 +2555,7 @@ struct processor_costs core_cost = {
                                           in 32,64,128,256 and 512-bit */
   {6, 6, 6, 6, 12},                    /* cost of storing SSE registers
                                           in 32,64,128,256 and 512-bit */
-  2, 2,                                        /* SSE->integer and integer->SSE moves */
+  6, 6,                                        /* SSE->integer and integer->SSE moves */
   /* End of register allocator costs.  */
   },