PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr68483-2.c
blob394dc1bac7630af9fe5d7f7ba5ad94d7100e87d2
1 /* PR target/68483 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -msse2 -mno-sse3" } */
5 typedef int V __attribute__((vector_size (16)));
7 void
8 foo (V *a, V *b)
10 V c = { 0, 0, 0, 0 };
11 V d = { 1, 2, 3, 4 };
12 *a = __builtin_shuffle (*b, c, d);
15 /* { dg-final { scan-assembler "psrldq\[^\n\r]*(4,|, 4)" } } */