strub: enable conditional support
[official-gcc.git] / gcc / testsuite / g++.dg / torture / vshuf-v2sf.C
blobdd229bac0c3d4b9c04f8f9b06c1960e342f75d8a
1 // { dg-options "-std=c++11" }
2 // // { dg-do run }
3 #if __SIZEOF_FLOAT__ == 4
4 typedef float V __attribute__((vector_size(8)));
5 # if __SIZEOF_INT__ == 4
6 typedef unsigned int VI __attribute__((vector_size(8)));
7 # elif __SIZEOF_LONG__ == 4
8 typedef unsigned long VI __attribute__((vector_size(8)));
9 # else
10 #  define UNSUPPORTED
11 # endif
12 #else
13 # define UNSUPPORTED
14 #endif
16 #define A       0.69314718055994530942f
17 #define B       2.7182818284590452354f
19 #define X       3.14159265358979323846f
20 #define Y       1.41421356237309504880f
22 #include "vshuf-2.inc"
23 #include "vshuf-main.inc"