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