PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / shuf-concat.c
blob04ed4a9dbb8ee943b6dd48a0ed48e0b020a0ad6a
1 /* { dg-do compile } */
2 /* { dg-options "-O -msse2 -mfpmath=sse" } */
4 typedef double v2df __attribute__ ((__vector_size__ (16)));
6 v2df f(double d,double e){
7 v2df x={-d,d};
8 v2df y={-e,e};
9 return __builtin_ia32_shufpd(x,y,1);
12 /* { dg-final { scan-assembler-not "\tv?shufpd\[ \t\]" } } */
13 /* { dg-final { scan-assembler-times "\tv?unpcklpd\[ \t\]" 1 } } */