| 1 |
// { dg-options "-std=c++11" } |
| 2 |
// { dg-do run } |
| 3 |
|
| 4 |
#if __SIZEOF_INT__ == 4 |
| 5 |
typedef unsigned int V __attribute__((vector_size(16))); |
| 6 |
typedef V VI; |
| 7 |
#elif __SIZEOF_LONG__ == 4 |
| 8 |
typedef unsigned long V __attribute__((vector_size(16))); |
| 9 |
typedef V VI; |
| 10 |
#else |
| 11 |
# define UNSUPPORTED |
| 12 |
#endif |
| 13 |
|
| 14 |
#define A 0x11121314 |
| 15 |
#define B 0x21222324 |
| 16 |
#define C 0x31323334 |
| 17 |
#define D 0x41424344 |
| 18 |
|
| 19 |
#define W 0xc1c2c3c4 |
| 20 |
#define X 0xd1d2d3d4 |
| 21 |
#define Y 0xe1e2e3e4 |
| 22 |
#define Z 0xf1f2f3f4 |
| 23 |
|
| 24 |
#include "vshuf-4.inc" |
| 25 |
#include "vshuf-main.inc" |