[Bug target/124341] invalid write mask of vcvt2ph2hf8 with -masm=intel
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 8 05:22:35 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124341
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:bbfd5eba174ad038fe9a4bbf8ec42dfdfb058b5b
commit r15-10912-gbbfd5eba174ad038fe9a4bbf8ec42dfdfb058b5b
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Mar 4 09:38:28 2026 +0100
i386: Fix up vcvt<convertfp8_pack><mode><mask_name> for -masm=intel
[PR124341]
The vcvt<convertfp8_pack><mode><mask_name> pattern uses wrong
<mask_operand?>
for -masm=intel, so the testcase fails to assemble, it emits something
like {ymm1} instead of {k1}.
2026-03-04 Jakub Jelinek <jakub@redhat.com>
PR target/124341
* config/i386/sse.md (vcvt<convertfp8_pack><mode><mask_name>): Use
<mask_operand3> rather than <mask_operand2> for -masm=intel.
* gcc.target/i386/avx10_2-pr124341.c: New test.
(cherry picked from commit e4bd889001388ae9d2fee901b219f37eeeddf6b3)
More information about the Gcc-bugs
mailing list