bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/31219] Incorrect disassembly for x86 ADCX instructions wit


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/31219] Incorrect disassembly for x86 ADCX instructions with -M suffix
Date: Sun, 07 Jan 2024 20:07:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31219

--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f322084c7c842fbfd8c3291ff3f8d114173b4674

commit f322084c7c842fbfd8c3291ff3f8d114173b4674
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Jan 7 11:58:53 2024 -0800

    i386: Correct adcx suffix in disassembler

    Since 0x66 is the opcode prefix for adcx, it is wrong to use the 'S'
    prefix:

      'S' => print 'w', 'l' or 'q' if suffix_always is true

    on adcx.  Add

      'L' => print 'l' or 'q' if suffix_always is true

    replace S with L on adcx and adox.

    gas/

            PR binutils/31219
            * testsuite/gas/i386/suffix.d: Updated.
            * testsuite/gas/i386/x86-64-suffix.d: Likewise.
            * testsuite/gas/i386/suffix.s: Add tests for adcx and adox.
            * testsuite/gas/i386/x86-64-suffix.s: Likewise.

    opcodes/

            PR binutils/31219
            * i386-dis.c: Add the 'L' suffix.
            (prefix_table): Replace S with L on adcx and adox.
            (putop): Handle the 'L' suffix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]