]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86/APX: correct .insn opcode space determination when REX2 is needed
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Mar 2024 08:20:56 +0000 (09:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Mar 2024 08:20:56 +0000 (09:20 +0100)
commit6804f42c67d97401c7ef8438727eba788fc29329
tree804af6a60cfd4ec5d6fa26dace917328c0a40fdb
parenteb3f3841da4ea29dec13c84c241c17a7623d15ca
x86/APX: correct .insn opcode space determination when REX2 is needed

In this case spaces 0f38 and 0f3a may not be put in place. To achieve
the intended effect, operand parsing (but not operand processing) needs
pulling ahead, so we know whether eGRP-s are in use.
gas/config/tc-i386.c
gas/testsuite/gas/i386/insn-rex2.l [new file with mode: 0644]
gas/testsuite/gas/i386/insn-rex2.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64.exp