https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104977
Bug ID: 104977 Summary: [avx512fp16] wrong code for vfmaddcsh when -masm=intel. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: crazylht at gmail dot com Target Milestone: --- #include<immintrin.h> __m128h foo (__m128h a, __m128h b, __m128h c, __mmask8 m) { return _mm_fcmadd_round_sch (a, b, c, 8); } with asm=intel generates _Z3fooDv8_DF16_S_S_h: vfcmaddcsh xmm2, xmm0, xmm1<round_scalarcz_maskcz_mask_op4> vmovdqa xmm0, xmm2 ret