Commit 4e9ad7c9 by Uros Bizjak Committed by Uros Bizjak

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
parent aa8901e9
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> 2019-09-06 Jakub Jelinek <jakub@redhat.com>
* function.c (assign_parm_find_data_types): Use RECORD_OR_UNION_TYPE_P * function.c (assign_parm_find_data_types): Use RECORD_OR_UNION_TYPE_P
......
...@@ -1610,7 +1610,7 @@ struct processor_costs skylake_cost = { ...@@ -1610,7 +1610,7 @@ struct processor_costs skylake_cost = {
in 32,64,128,256 and 512-bit */ in 32,64,128,256 and 512-bit */
{8, 8, 8, 12, 24}, /* cost of storing SSE registers {8, 8, 8, 12, 24}, /* cost of storing SSE registers
in 32,64,128,256 and 512-bit */ 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. */ /* End of register allocator costs. */
}, },
...@@ -2555,7 +2555,7 @@ struct processor_costs core_cost = { ...@@ -2555,7 +2555,7 @@ struct processor_costs core_cost = {
in 32,64,128,256 and 512-bit */ in 32,64,128,256 and 512-bit */
{6, 6, 6, 6, 12}, /* cost of storing SSE registers {6, 6, 6, 6, 12}, /* cost of storing SSE registers
in 32,64,128,256 and 512-bit */ 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. */ /* End of register allocator costs. */
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment