aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/torture/vshuf-v2si.C
blob: 36aeb82b76602b3ed748d3c870afe2e5e74e16bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// { dg-do run { target c++11 } }
#if __SIZEOF_INT__ == 4
typedef unsigned int V __attribute__((vector_size(8)));
typedef V VI;
#elif __SIZEOF_LONG__ == 4
typedef unsigned long V __attribute__((vector_size(8)));
typedef V VI;
#else
#define UNSUPPORTED
#endif

#define A	0x11121314
#define B	0x21222324

#define X	0xd1d2d3d4
#define Y	0xe1e2e3e4

#include "vshuf-2.inc"
#include "vshuf-main.inc"