1 /* { dg-do compile } */
2 /* { dg-options "-mgfni -O2 -msse" } */
3 /* { dg-final { scan-assembler-times "gf2p8affineinvqb\[ \\t\]+\[^\{\n\]*\\\$3\[^\n\r]*%xmm\[0-9\]+\[^\n\r]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "gf2p8affineqb\[ \\t\]+\[^\{\n\]*\\\$3\[^\n\r]*%xmm\[0-9\]+\[^\n\r]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
5 /* { dg-final { scan-assembler-times "gf2p8mulb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\r]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
6 
7 #include <x86intrin.h>
8 
9 int *p;
10 volatile __m128i x5, x6;
11 
12 void extern
avx512vl_test(void)13 avx512vl_test (void)
14 {
15     x5 = _mm_gf2p8affineinv_epi64_epi8(x5, x6, 3);
16     x5 = _mm_gf2p8affine_epi64_epi8(x5, x6, 3);
17     x5 = _mm_gf2p8mul_epi8(x5, x6);
18 }
19