aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/torture/vshuf-v2sf.C
blob: 274dacdaec1bf9c738ebef12ae10abbf26712560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// // { dg-do run { target c++11 } }
#if __SIZEOF_FLOAT__ == 4
typedef float V __attribute__((vector_size(8)));
# if __SIZEOF_INT__ == 4
typedef unsigned int VI __attribute__((vector_size(8)));
# elif __SIZEOF_LONG__ == 4
typedef unsigned long VI __attribute__((vector_size(8)));
# else
#  define UNSUPPORTED
# endif
#else
# define UNSUPPORTED
#endif

#define A	0.69314718055994530942f
#define B	2.7182818284590452354f

#define X	3.14159265358979323846f
#define Y	1.41421356237309504880f

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