OSDN Git Service

2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jul 2008 00:56:45 +0000 (00:56 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jul 2008 00:56:45 +0000 (00:56 +0000)
commitfc986522ec9d71cc24a613e6b5ceea7fb775d39e
tree13b68faa2dab77d87a223581c01cd38382315c8b
parentb224e1e7efb6fe8c78395130475c45cc9adf81ed
2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.dg/compat/struct-layout-1_generate.c (vector_types): Add
v32qi, v16hi, v8si, v4di, v8sf, v4df, u32qi, u16hi, u8si, u4di,
u8sf and u4df.

* gcc.dg/compat/union-m128-1_main.c: Run only on x86.  Remove
__x86_64__ check.  Include "cpuid.h".
(main): Check SSE2 at runtime.

* gcc.dg/compat/union-m128-1_x.c: Compile with -msse2.  Remove
__x86_64__ check.
* gcc.dg/compat/union-m128-1_y.c: Likewise.

* gcc.dg/compat/vector-1_x.c: Add 32byte vector tests.
* gcc.dg/compat/vector-1_y.c: Likewise.
* gcc.dg/compat/vector-2_x.c: Likewise.
* gcc.dg/compat/vector-2_y.c: Likewise.

* gcc.dg/compat/vector-1a_main.c: New.
* gcc.dg/compat/vector-1a_x.c: Likewise.
* gcc.dg/compat/vector-1a_y.c: Likewise.
* gcc.dg/compat/vector-2a_main.c: Likewise.
* gcc.dg/compat/vector-2a_x.c: Likewise.
* gcc.dg/compat/vector-2a_y.c: Likewise.

* gcc.dg/compat/vector-defs.h (v32qi): New.
(v16hi): Likewise.
(v8si): Likewise.
(v4di): Likewise.
(v8sf): Likewise.
(v4df): Likewise.
(u32qi): Likewise.
(u16hi): Likewise.
(u8si): Likewise.
(u4di): Likewise.
(u8sf): Likewise.
(u4df): Likewise.

* lib/compat.exp (compat-get-options-main): Support dg-skip-if.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137611 138bc75d-0d04-0410-961f-82ee72b054a4
17 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c
gcc/testsuite/gcc.dg/compat/union-m128-1_main.c
gcc/testsuite/gcc.dg/compat/union-m128-1_x.c
gcc/testsuite/gcc.dg/compat/union-m128-1_y.c
gcc/testsuite/gcc.dg/compat/vector-1_x.c
gcc/testsuite/gcc.dg/compat/vector-1_y.c
gcc/testsuite/gcc.dg/compat/vector-1a_main.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/vector-1a_x.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/vector-1a_y.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/vector-2_x.c
gcc/testsuite/gcc.dg/compat/vector-2_y.c
gcc/testsuite/gcc.dg/compat/vector-2a_main.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/vector-2a_x.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/vector-2a_y.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/vector-defs.h
gcc/testsuite/lib/compat.exp