aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/torture/vshuf-v4sf.c
blob: 283672560a3c12474f65eee2b6942baaf74eb405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#if __SIZEOF_FLOAT__ == 4
typedef float V __attribute__((vector_size(16)));
# if __SIZEOF_INT__ == 4
typedef unsigned int VI __attribute__((vector_size(16)));
# elif __SIZEOF_LONG__ == 4
typedef unsigned long VI __attribute__((vector_size(16)));
# else
#  define UNSUPPORTED
# endif
#else
# define UNSUPPORTED
#endif

#define A	0.69314718055994530942f
#define B	2.7182818284590452354f
#define C	2.30258509299404568402f
#define D	1.4426950408889634074f

#define W	0.31830988618379067154f
#define X	3.14159265358979323846f
#define Y	1.41421356237309504880f
#define Z	0.70710678118654752440f

#include "vshuf-4.inc"
#include "vshuf-main.inc"