Support TImode CONST_WIDE_INT store in 64-bit STV
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 11 Aug 2016 17:36:52 +0000 (17:36 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 11 Aug 2016 17:36:52 +0000 (10:36 -0700)
commitc73dd9864bb716800209f7fe5e86d95c4a3e9716
tree7d56c0e50e0dd66c8dfb2d8b952c2b03f83dc0fe
parent385ed708b272bb4b53aeda3081960f63ac56d7b0
Support TImode CONST_WIDE_INT store in 64-bit STV

Support TImode CONST_WIDE_INT store generated from piecewise store.
Need to verify performance impact before enabling TImode CONST_INT
store for __int128.

gcc/

* config/i386/i386.c (timode_scalar_to_vector_candidate_p): Allow
TImode CONST_WIDE_INT store.
(timode_scalar_chain::convert_insn): Handle CONST_WIDE_INT store.

gcc/testsuite/

* gcc.target/i386/pieces-strcpy-1.c: New test.
* gcc.target/i386/pieces-strcpy-2.c: Likewise.

From-SVN: r239383
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pieces-strcpy-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pieces-strcpy-2.c [new file with mode: 0644]