Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / g++.dg / torture / vshuf-v2si.C
blob36aeb82b76602b3ed748d3c870afe2e5e74e16bf
1 // { dg-do run { target c++11 } }
2 #if __SIZEOF_INT__ == 4
3 typedef unsigned int V __attribute__((vector_size(8)));
4 typedef V VI;
5 #elif __SIZEOF_LONG__ == 4
6 typedef unsigned long V __attribute__((vector_size(8)));
7 typedef V VI;
8 #else
9 #define UNSUPPORTED
10 #endif
12 #define A       0x11121314
13 #define B       0x21222324
15 #define X       0xd1d2d3d4
16 #define Y       0xe1e2e3e4
18 #include "vshuf-2.inc"
19 #include "vshuf-main.inc"