aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2019-09-06 21:27:58 +0200
committerUros Bizjak <uros@gcc.gnu.org>2019-09-06 21:27:58 +0200
commit4e9ad7c9d8e0efbbee876b60c7bffd622072523f (patch)
tree49954c92afde0a2b332d7be4ded61977b14b4386 /gcc
parentaa8901e9bb0399d2c16f988ba2fe46eb0c0c5d13 (diff)
downloadgcc-4e9ad7c9d8e0efbbee876b60c7bffd622072523f.zip
gcc-4e9ad7c9d8e0efbbee876b60c7bffd622072523f.tar.gz
gcc-4e9ad7c9d8e0efbbee876b60c7bffd622072523f.tar.bz2
re PR target/91654 (Regressions of SPEC2017 rate caused by r274994)
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/x86-tune-costs.h4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7d5a272..86e8ab6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/x86-tune-costs.h b/gcc/config/i386/x86-tune-costs.h
index 3381b8b..00edece 100644
--- a/gcc/config/i386/x86-tune-costs.h
+++ b/gcc/config/i386/x86-tune-costs.h
@@ -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. */
},