PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-vprorvd-1.c
blobfb921c4ae1dd8b471c6e695287e27a4d6d0eaa16
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "vprorvd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
5 #include <immintrin.h>
7 volatile __m512i x;
8 volatile __mmask16 m;
10 void extern
11 avx512f_test (void)
13 x = _mm512_rorv_epi32 (x, x);
14 x = _mm512_mask_rorv_epi32 (x, m, x, x);
15 x = _mm512_maskz_rorv_epi32 (m, x, x);