i386.c (ix86_expand_vector_init_general): Optimize V8HImode for SSE2 and V16QImode...
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 16 May 2008 06:19:39 +0000 (06:19 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 16 May 2008 06:19:39 +0000 (23:19 -0700)
commitd0208f9b647dc20ca5e1cff958f81c063ff25a17
tree2c2f0120cd92b100f39e9727488dd7e30e4a0de2
parentd93712d9ff419405a47063a9fcaeeb1c1151cdac
i386.c (ix86_expand_vector_init_general): Optimize V8HImode for SSE2 and V16QImode for SSE4.1.

gcc/

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

* config/i386/i386.c (ix86_expand_vector_init_general): Optimize
V8HImode for SSE2 and V16QImode for SSE4.1.

gcc/testsuite/

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

* gcc.target/i386/m128-check.h: New.
* gcc.target/i386/set-v16qi-1.h: Likewise.
* gcc.target/i386/set-v16qi-2.h: Likewise.
* gcc.target/i386/set-v8hi-1.h: Likewise.
* gcc.target/i386/set-v8hi-2.h: Likewise.
* gcc.target/i386/sse2-set-v16qi-1.c: Likewise.
* gcc.target/i386/sse2-set-v16qi-2.c: Likewise.
* gcc.target/i386/sse2-set-v8hi-1.c: Likewise.
* gcc.target/i386/sse2-set-v8hi-2.c: Likewise.
* gcc.target/i386/sse4_1-set-v16qi-1.c: Likewise.
* gcc.target/i386/sse4_1-set-v16qi-2.c: Likewise.

* gcc.target/i386/sse2-check.h: Include m128-check.h. Don't
include <stdio.h>.
* gcc.target/i386/sse4_1-check.h: Likewise.

From-SVN: r135409
16 files changed:
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/m128-check.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/set-v16qi-1.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/set-v16qi-2.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/set-v8hi-1.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/set-v8hi-2.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-check.h
gcc/testsuite/gcc.target/i386/sse2-set-v16qi-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-set-v16qi-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-set-v8hi-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-set-v8hi-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-check.h
gcc/testsuite/gcc.target/i386/sse4_1-set-v16qi-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-set-v16qi-2.c [new file with mode: 0644]