PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-vpcmpled-1.c
blobec1e582e6fb25d96ecd45e909703690873c253bb
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "vpcmpd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\[^\n^k\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vpcmpd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\[^\n^k\]*%k\[0-7\]\{%k\[0-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
6 #include <immintrin.h>
8 volatile __m512i x;
9 volatile __mmask16 m;
11 void extern
12 avx512f_test (void)
14 m = _mm512_cmple_epi32_mask (x, x);
15 m = _mm512_mask_cmple_epi32_mask (m, x, x);