2 // { dg-do compile { target i?86-*-* x86_64-*-* } }
3 // { dg-options "-O2 -msse2 -mno-sse3" }
4 // { dg-final { scan-assembler-times {\mpsrad\M} 1 } }
5 // { dg-final { scan-assembler-times {\mpshufd\M} 1 } }
6 // { dg-final { scan-assembler-times {\mpxor\M} 1 } }
7 // { dg-final { scan-assembler-times {\mpsubq\M} 1 } }
9 typedef long long V __attribute__((vector_size (16)));
14 return x < 0 ? -x : x;