[Bug target/124349] assemble failure "operand size mismatch for `vcomisbf16'" with -masm=intel
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 4 08:36:48 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124349
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:7fe63e16ae7c32ee59ec21aa6db0b124052f4482
commit r16-7886-g7fe63e16ae7c32ee59ec21aa6db0b124052f4482
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Mar 4 09:34:33 2026 +0100
i386: Fix up printing of input operand of avx10_2_comisbf16_v8bf for
-masm=intel [PR124349]
gas expects the second operand if in memory WORD PTR rather than XMMWORD
PTR.
The following patch fixes it by using %w1 instead of %1, if the operand is
a register, it is printed as xmm1 in both cases.
2026-03-04 Jakub Jelinek <jakub@redhat.com>
PR target/124349
* config/i386/sse.md (avx10_2_comisbf16_v8bf): Use %w1 instead of
%1
for -masm=intel.
* gcc.target/i386/avx10_2-pr124349.c: New test.
More information about the Gcc-bugs
mailing list