gcc/testsuite/g++.dg/torture/vshuf-v2si.C
raw| 1 | // { dg-options "-std=c++11" } |
| 2 | // { dg-do run } |
| 3 | #if __SIZEOF_INT__ == 4 |
| 4 | typedef unsigned int V __attribute__((vector_size(8))); |
| 5 | typedef V VI; |
| 6 | #elif __SIZEOF_LONG__ == 4 |
| 7 | typedef unsigned long V __attribute__((vector_size(8))); |
| 8 | typedef V VI; |
| 9 | #else |
| 10 | #define UNSUPPORTED |
| 11 | #endif |
| 12 | |
| 13 | #define A 0x11121314 |
| 14 | #define B 0x21222324 |
| 15 | |
| 16 | #define X 0xd1d2d3d4 |
| 17 | #define Y 0xe1e2e3e4 |
| 18 | |
| 19 | #include "vshuf-2.inc" |
| 20 | #include "vshuf-main.inc" |