2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-vphsubsw-1.c
blobd941f44b3f39a5317870cd52e65419e6b1521151
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vphsubsw\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
5 #include <immintrin.h>
7 volatile __m256i x;
9 void extern
10 avx2_test (void)
12 x = _mm256_hsubs_epi16 (x, x);