public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104977] New: [avx512fp16] wrong code for vfmaddcsh when -masm=intel.
@ 2022-03-18 12:14 crazylht at gmail dot com
2022-03-18 12:37 ` [Bug target/104977] " crazylht at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: crazylht at gmail dot com @ 2022-03-18 12:14 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/104977] [avx512fp16] wrong code for vfmaddcsh when -masm=intel.
2022-03-18 12:14 [Bug target/104977] New: [avx512fp16] wrong code for vfmaddcsh when -masm=intel crazylht at gmail dot com
@ 2022-03-18 12:37 ` crazylht at gmail dot com
2022-03-21 1:24 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: crazylht at gmail dot com @ 2022-03-18 12:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104977
--- Comment #1 from Hongtao.liu <crazylht at gmail dot com> ---
Similar for _mm_fmadd_round_sch
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/104977] [avx512fp16] wrong code for vfmaddcsh when -masm=intel.
2022-03-18 12:14 [Bug target/104977] New: [avx512fp16] wrong code for vfmaddcsh when -masm=intel crazylht at gmail dot com
2022-03-18 12:37 ` [Bug target/104977] " crazylht at gmail dot com
@ 2022-03-21 1:24 ` cvs-commit at gcc dot gnu.org
2022-03-21 1:25 ` wwwhhhyyy333 at gmail dot com
2022-03-21 7:39 ` crazylht at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-03-21 1:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104977
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hongyu Wang <hongyuw@gcc.gnu.org>:
https://gcc.gnu.org/g:e767da23de12ceb1bf3aece4dae0ae20bf605b04
commit r12-7730-ge767da23de12ceb1bf3aece4dae0ae20bf605b04
Author: Hongyu Wang <hongyu.wang@intel.com>
Date: Fri Mar 18 23:47:35 2022 +0800
AVX512FP16: Fix masm=intel output for vfc?(madd|mul)csh [PR 104977]
Fix typo in subst for scalar complex mask_round operand.
gcc/ChangeLog:
PR target/104977
* config/i386/sse.md
(avx512fp16_fma<complexopname>sh_v8hf<mask_scalarcz_name><round_scalarcz_name>):
Correct round operand for intel dialect.
gcc/testsuite/ChangeLog:
PR target/104977
* gcc.target/i386/pr104977.c: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/104977] [avx512fp16] wrong code for vfmaddcsh when -masm=intel.
2022-03-18 12:14 [Bug target/104977] New: [avx512fp16] wrong code for vfmaddcsh when -masm=intel crazylht at gmail dot com
2022-03-18 12:37 ` [Bug target/104977] " crazylht at gmail dot com
2022-03-21 1:24 ` cvs-commit at gcc dot gnu.org
@ 2022-03-21 1:25 ` wwwhhhyyy333 at gmail dot com
2022-03-21 7:39 ` crazylht at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: wwwhhhyyy333 at gmail dot com @ 2022-03-21 1:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104977
--- Comment #3 from Hongyu Wang <wwwhhhyyy333 at gmail dot com> ---
Fixed for GCC 12.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/104977] [avx512fp16] wrong code for vfmaddcsh when -masm=intel.
2022-03-18 12:14 [Bug target/104977] New: [avx512fp16] wrong code for vfmaddcsh when -masm=intel crazylht at gmail dot com
` (2 preceding siblings ...)
2022-03-21 1:25 ` wwwhhhyyy333 at gmail dot com
@ 2022-03-21 7:39 ` crazylht at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: crazylht at gmail dot com @ 2022-03-21 7:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104977
Hongtao.liu <crazylht at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Hongtao.liu <crazylht at gmail dot com> ---
.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-03-21 7:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 12:14 [Bug target/104977] New: [avx512fp16] wrong code for vfmaddcsh when -masm=intel crazylht at gmail dot com
2022-03-18 12:37 ` [Bug target/104977] " crazylht at gmail dot com
2022-03-21 1:24 ` cvs-commit at gcc dot gnu.org
2022-03-21 1:25 ` wwwhhhyyy333 at gmail dot com
2022-03-21 7:39 ` 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).