1 /* { dg-do compile } */ 2 /* { dg-options "-mavx512f -O2" } */ 3 /* { dg-final { scan-assembler-times "vprorvd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ 4 5 #include <immintrin.h> 6 7 volatile __m512i x; 8 volatile __mmask16 m; 9 10 void extern avx512f_test(void)11avx512f_test (void) 12 { 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); 16 } 17