OSDN Git Service

2012-04-13 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / torture / vshuf-v4sf.c
1 /* { dg-do run } */
2 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
3 /* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
4 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
5 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
6
7 #if __SIZEOF_FLOAT__ == 4
8 typedef float V __attribute__((vector_size(16)));
9 # if __SIZEOF_INT__ == 4
10 typedef unsigned int VI __attribute__((vector_size(16)));
11 # elif __SIZEOF_LONG__ == 4
12 typedef unsigned long VI __attribute__((vector_size(16)));
13 # else
14 #  define UNSUPPORTED
15 # endif
16 #else
17 # define UNSUPPORTED
18 #endif
19
20 #include "vshuf-4.inc"
21 #include "vshuf-main.inc"