i386: Restore Skylake SImode hard register store cost
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 18 Sep 2019 19:50:45 +0000 (19:50 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 18 Sep 2019 19:50:45 +0000 (12:50 -0700)
commit7706f2f312a87b0c8509cccc986d6372dcd2fbcf
tree788bd7394248161c4b427da2b17af48c521508e8
parent101a0841b6fad201172e90f716d6c1866d7b0a36
i386: Restore Skylake SImode hard register store cost

On Skylake, we should move integer register to SSE register without
going through memory.  This patch restores Skylake SImode hard register
store cost to 6.

gcc/

PR target/90878
* config/i386/x86-tune-costs.h (skylake_cost): Restore SImode
hard register store cost to 6.

gcc/testsuite/

PR target/90878
* gcc.target/i386/pr90878.c: New test.

From-SVN: r275906
gcc/ChangeLog
gcc/config/i386/x86-tune-costs.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr90878.c [new file with mode: 0644]