1 /* Test case to check if intrinsics and function specific target
2    optimizations work together.  Check by including x86intrin.h  */
3 
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -msse -mno-sse4.1 -mno-sse4.2" } */
6 
7 #include <x86intrin.h>
8 
9 __attribute__((target("sse4.2")))
foo(__m128i * V)10 __m128i foo(__m128i *V)
11 {
12     return _mm_stream_load_si128(V);
13 }
14