2014-04-07 Charles Baylis <charles.baylis@linaro.org>
[official-gcc.git] / gcc / testsuite / g++.dg / torture / vshuf-v4sf.C
blobaa67dbbe6186a5ad17160094f4fbdfa31b43dd1a
1 // { dg-do run { target c++11 } }
4 #if __SIZEOF_FLOAT__ == 4
5 typedef float V __attribute__((vector_size(16)));
6 # if __SIZEOF_INT__ == 4
7 typedef unsigned int VI __attribute__((vector_size(16)));
8 # elif __SIZEOF_LONG__ == 4
9 typedef unsigned long VI __attribute__((vector_size(16)));
10 # else
11 #  define UNSUPPORTED
12 # endif
13 #else
14 # define UNSUPPORTED
15 #endif
17 #define A       0.69314718055994530942f
18 #define B       2.7182818284590452354f
19 #define C       2.30258509299404568402f
20 #define D       1.4426950408889634074f
22 #define W       0.31830988618379067154f
23 #define X       3.14159265358979323846f
24 #define Y       1.41421356237309504880f
25 #define Z       0.70710678118654752440f
27 #include "vshuf-4.inc"
28 #include "vshuf-main.inc"