https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111350
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-09-09 --- Comment #7 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #6) > (In reply to Iain Sandoe from comment #5) > > (In reply to Iain Sandoe from comment #4) > > > (In reply to Francois-Xavier Coudert from comment #3) > > > > Clang: 14.0.0 build 1400 > > > > CLT: 14.2.0.0.1.1668646533 > maybe something like this (untested because 15b7 is only supported on > macOS13 and my avx512 box has an earlier install) > > diff --git a/gcc/testsuite/lib/target-supports.exp > b/gcc/testsuite/lib/target-supports.exp > index 0ea8bcb24e1..2d74f62e887 100644 > --- a/gcc/testsuite/lib/target-supports.exp > +++ b/gcc/testsuite/lib/target-supports.exp > @@ -9776,6 +9776,7 @@ proc check_effective_target_avx512fp16 { } { > void foo (void) > { > asm volatile ("vmovw %edi, %xmm0"); > + asm volatile ("vfcmulcph %xmm1, %xmm2, %xmm3"); > } > } "-O2 -mavx512fp16" ] > } hmm not enough it needs: + asm volatile ("vfcmulcph %xmm1, %xmm2, %xmm3{%k1}"); to fail on XC14 and pass on XC15