* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / intrinsics_2.c
blob329ac8864c7c218fb51e1437b81099ba4303ddbd
1 /* Test case to check if intrinsics and function specific target
2 optimizations work together. Check by including immintrin.h */
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -msse -mno-sse4.1" } */
7 #include <immintrin.h>
9 __attribute__((target("sse4.2")))
10 __m128i foo(__m128i *V)
12 return _mm_stream_load_si128(V);