i386.c (ix86_expand_vector_init_one_var): Use ix86_expand_vector_set on V16QImode...
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 22 May 2008 05:28:19 +0000 (05:28 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 22 May 2008 05:28:19 +0000 (22:28 -0700)
commit31ebe593ab02c381bc859aa615e1fad4c1677036
treeb3fcfb48e0a47d9d9f8b5d0869027f4d50e0728a
parentc24d4112dd6b4f19cdc43fc99aa0fefe03efa13f
i386.c (ix86_expand_vector_init_one_var): Use ix86_expand_vector_set on V16QImode for SSE4.1.

gcc/

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

* config/i386/i386.c (ix86_expand_vector_init_one_var): Use
ix86_expand_vector_set on V16QImode for SSE4.1.

gcc/testsuite/

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

* gcc.target/i386/m128-check.h (ARRAY_SIZE): New.
(CHECK_EXP): Use it.

* gcc.target/i386/set-v16qi-3.h: New.
* gcc.target/i386/sse2-set-v16qi-3.c: Likewise.
* gcc.target/i386/sse4_1-set-v16qi-3.c: Likewise.

From-SVN: r135750
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/m128-check.h
gcc/testsuite/gcc.target/i386/set-v16qi-3.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-set-v16qi-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-set-v16qi-3.c [new file with mode: 0644]