| 1 |
// { dg-options "-std=c++11" } |
| 2 |
// { dg-do run } |
| 3 |
|
| 4 |
|
| 5 |
#if __SIZEOF_FLOAT__ == 4 |
| 6 |
typedef float V __attribute__((vector_size(16))); |
| 7 |
# if __SIZEOF_INT__ == 4 |
| 8 |
typedef unsigned int VI __attribute__((vector_size(16))); |
| 9 |
# elif __SIZEOF_LONG__ == 4 |
| 10 |
typedef unsigned long VI __attribute__((vector_size(16))); |
| 11 |
# else |
| 12 |
# define UNSUPPORTED |
| 13 |
# endif |
| 14 |
#else |
| 15 |
# define UNSUPPORTED |
| 16 |
#endif |
| 17 |
|
| 18 |
#define A 0.69314718055994530942f |
| 19 |
#define B 2.7182818284590452354f |
| 20 |
#define C 2.30258509299404568402f |
| 21 |
#define D 1.4426950408889634074f |
| 22 |
|
| 23 |
#define W 0.31830988618379067154f |
| 24 |
#define X 3.14159265358979323846f |
| 25 |
#define Y 1.41421356237309504880f |
| 26 |
#define Z 0.70710678118654752440f |
| 27 |
|
| 28 |
#include "vshuf-4.inc" |
| 29 |
#include "vshuf-main.inc" |