2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-vpmaxuw-1.c
blobdbadc254c625eb9d63e2870c6300b3f272597dfd
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vpmaxuw\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
5 #include <immintrin.h>
7 volatile __m256i x;
9 void extern
10 avx2_test (void)
12 x = _mm256_max_epu16 (x, x);