i386.c (ix86_expand_vector_init_one_nonzero): Use ix86_expand_vector_set if supported.
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 13 May 2008 19:42:30 +0000 (19:42 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 13 May 2008 19:42:30 +0000 (12:42 -0700)
commitaf7ae5d1075e9e7f2eddd0a7b113ebca3429b9e4
tree858d6a6a54d1ba105516b832ac78bb6a1c0500e8
parent5db9ba0c38a08b7313ab2e10b1aabc98c5b73301
i386.c (ix86_expand_vector_init_one_nonzero): Use ix86_expand_vector_set if supported.

gcc/

2008-05-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
ix86_expand_vector_set if supported.

gcc/testsuite/

2008-05-13  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.target/i386/sse-init-v4hi-1.c: New.
* gcc.target/i386/sse-init-v4sf-1.c: Likewise.
* gcc.target/i386/sse2-init-v16qi-1.c: Likewise.
* gcc.target/i386/sse2-init-v2di-1.c: Likewise.
* gcc.target/i386/sse2-init-v4si-1.c: Likewise.
* gcc.target/i386/sse2-init-v8hi-1.c: Likewise.
* gcc.target/i386/sse4_1-init-v16qi-1.c: Likewise.
* gcc.target/i386/sse4_1-init-v2di-1.c: Likewise.
* gcc.target/i386/sse4_1-init-v4sf-1.c: Likewise.
* gcc.target/i386/sse4_1-init-v4si-1.c: Likewise.

From-SVN: r135272
13 files changed:
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/sse-init-v4hi-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse-init-v4sf-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-init-v16qi-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-init-v2di-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-init-v4si-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-init-v8hi-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-init-v16qi-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-init-v2di-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-init-v4sf-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-init-v4si-1.c [new file with mode: 0644]