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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Uros Bizjak <[email protected]>:

https://gcc.gnu.org/g:34bab1cbc206a2b5b214e0db229ec483d5d1d31f

commit r14-12125-g34bab1cbc206a2b5b214e0db229ec483d5d1d31f
Author: LIU Hao <[email protected]>
Date:   Sat Oct 25 17:19:34 2025 +0800

    x86-64: Use `movsxd` to perform SI-to-DI extension in Intel syntax

    Although there's no possibility of ambiguity, Intel manual says the
mnemonic
    for DWORD-to-QWORD sign-extension operation should be MOVSXD. Some
assemblers
    (GNU AS, NASM) also overload MOVSX, but some others don't accept MOVSX
(LLVM,
    MASM, YASM in NASM mode) and require MOVSXD.

    This mnemonic was introduced in r0-34259-g123bf9e3f4056d in 2001, and has
not
    been updated ever since.

    gcc/ChangeLog:

            PR target/119079
            * config/i386/i386.md: Use `movsxd` to perform SI-to-DI extension
in Intel
            syntax.

    Signed-off-by: LIU Hao <[email protected]>
    (cherry picked from commit 66b38349273525dfb86f0f74d6c928abdbf7154f)

Reply via email to