PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-kmovw-2.c
blob95d203b090d2a9324241837769b01594be6c29ad
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "kmovw\[ \\t\]+\[^\{\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
5 #include <immintrin.h>
6 volatile __mmask16 k1;
8 void
9 avx512f_test ()
11 __mmask16 k = _cvtu32_mask16 (11);
13 asm volatile ("" : "+k" (k));
14 k1 = k;