| 1 |
#if __SIZEOF_INT__ == 4 |
| 2 |
typedef unsigned int V __attribute__((vector_size(32))); |
| 3 |
typedef V VI; |
| 4 |
#elif __SIZEOF_LONG__ == 4 |
| 5 |
typedef unsigned long V __attribute__((vector_size(32))); |
| 6 |
typedef V VI; |
| 7 |
#else |
| 8 |
# define UNSUPPORTED |
| 9 |
#endif |
| 10 |
|
| 11 |
#define A1 0x11121314 |
| 12 |
#define B1 0x21222324 |
| 13 |
#define C1 0x31323334 |
| 14 |
#define D1 0x41424344 |
| 15 |
#define E1 0x51525354 |
| 16 |
#define F1 0x61626364 |
| 17 |
#define G1 0x71727374 |
| 18 |
#define H1 0x81828384 |
| 19 |
|
| 20 |
#define A2 0x91929394 |
| 21 |
#define B2 0xa1a2a3a4 |
| 22 |
#define C2 0xb1b2b3b4 |
| 23 |
#define D2 0xc1c2c3c4 |
| 24 |
#define E2 0xd1d2d3d4 |
| 25 |
#define F2 0xe1e2e3e4 |
| 26 |
#define G2 0xf1f2f3f4 |
| 27 |
#define H2 0x01020304 |
| 28 |
|
| 29 |
#include "vshuf-8.inc" |
| 30 |
#include "vshuf-main.inc" |