1 // { dg-do run { target i?86-*-* x86_64-*-* } }
2 // { dg-require-effective-target sse2_runtime }
3 // { dg-options "-O -msse2" }
5 extern "C" void abort (void);
7 typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__));
8 typedef short A __attribute__((__may_alias__));
10 __m128i __attribute__((noinline))
15 reinterpret_cast<A *>(&r)[5] = reinterpret_cast<const A *>(&v)[4];
21 __attribute__((aligned(16))) short mem[8] = { 0, 1, 2, 3, 4, 5, 6, 7 };
23 *reinterpret_cast<__m128i *>(mem) = shuf (*reinterpret_cast<__m128i *>(mem));