Debian Codegraph @

gcc/testsuite/gcc.target/i386/avx512f-vcvtps2ph-pr95254.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx512f" } */
3
4 #include<immintrin.h>
5 extern __m256i res;
6 void
7 foo (__m512 a, __mmask16 m)
8 {
9 res = _mm512_maskz_cvtps_ph (m, a, 10);
10 }
11
12 /* { dg-final { scan-assembler-not "vcvtps2ph\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]\[^\n\]*res\[^\n\]*\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)"} } */