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