* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-vpmaxsw-1.c
blob8fb2d29cd02706f13f63cf8b053c223ad4f6221a
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vpmaxsw\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
5 #include <immintrin.h>
7 volatile __m256i x;
9 void extern
10 avx2_test (void)
12 x = _mm256_max_epi16 (x, x);