* gcc.target/i386/xop-rotate1-vector.c (dg-options): Add -mno-avx2.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / intrinsics_6.c
blobeea22bb79517d4da2ee2740d6e19e127cf170740
1 /* Test case to check if intrinsics and function specific target
2 optimizations work together. Check if an error is issued in
3 -O0 mode when foo calls an intrinsic without the right target
4 attribute. */
6 /* { dg-do compile } */
7 /* { dg-options "-O0 -msse -mno-sse4.1 -mno-sse4.2" } */
9 #include <smmintrin.h>
11 __m128i foo(__m128i *V)
13 return _mm_stream_load_si128(V); /* { dg-error "called from here" } */
16 /* { dg-prune-output ".*inlining failed.*" } */