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