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

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

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

commit 03df259d29dbeae82834f0cfbf7fe2710649662c
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Sat Mar 22 08:14:40 2025 -0700

    x86: Add {noimm8s} pseudo prefix

    Instruction templates with only sign-extended 8-bit immediate operand
    also have a second template with full-operand-size immediate operand
    under a different opcode.  Add {noimm8s} pseudo prefix to exclude
    templates with only sign-extended 8-bit immediate operand.

    gas/

            PR gas/32811
            * config/tc-i386.c (pseudo_prefixes): Add no_imm8s.
            (operand_size_match): Return false for templates with only sign-
            extended 8-bit immediate operand if {noimm8s} is used.
            (parse_insn): Handle Prefix_NoImm8s.
            * doc/c-i386.texi: Document {noimm8s}.
            * testsuite/gas/i386/pseudos.s: Add tests for {noimm8s}.
            * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
            * testsuite/gas/i386/pseudos.d: Updated.
            * testsuite/gas/i386/x86-64-pseudos.d: Likewise.

    opcodes/

            PR gas/32811
            * opcodes/i386-opc.h (Prefix_NoImm8s): New.
            * i386-opc.tbl: Add {noimm8s} pseudo prefix.
            * i386-mnem.h: Regenerated.
            * i386-tbl.h: Likewise.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

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

Reply via email to