1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "korw\[ \\t\]+\[^\n\]*%k\[1-7\]" 1 } } */
13 __asm__( "kmovw %1, %0" : "=k" (k1
) : "r" (1) );
14 __asm__( "kmovw %1, %0" : "=k" (k2
) : "r" (2) );
16 k3
= _mm512_kor (k1
, k2
);
17 x
= _mm512_mask_add_ps (x
, k3
, x
, x
);