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