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