public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104978] New: [avx512fp16] wrong code for _mm_mask_fcmadd_round_sch
@ 2022-03-18 12:21 crazylht at gmail dot com
  2022-03-18 12:37 ` [Bug target/104978] " crazylht at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: crazylht at gmail dot com @ 2022-03-18 12:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104978

            Bug ID: 104978
           Summary: [avx512fp16] wrong code for _mm_mask_fcmadd_round_sch
           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_mask_fcmadd_round_sch (a, m, b, c, 8);
}


_Z3fooDv8_DF16_S_S_h:
        kmovd   k1, edi
        vfcmaddcsh      xmm2{k1}, xmm0, xmm1, {rn-sae}
        vmovaps xmm0{k1}, xmm2
        ret

k1 must & 1 before vmovaps xmm0{k1}, xmm2.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-03-22  9:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 12:21 [Bug target/104978] New: [avx512fp16] wrong code for _mm_mask_fcmadd_round_sch crazylht at gmail dot com
2022-03-18 12:37 ` [Bug target/104978] " crazylht at gmail dot com
2022-03-18 12:52 ` crazylht at gmail dot com
2022-03-18 12:57 ` crazylht at gmail dot com
2022-03-22  3:48 ` cvs-commit at gcc dot gnu.org
2022-03-22  3:49 ` wwwhhhyyy333 at gmail dot com
2022-03-22  9:41 ` crazylht at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).