diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-01-17 07:07:55 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-01-17 07:07:55 -0800 |
commit | 42e04b360158941f4d490a38cad14b11593854fa (patch) | |
tree | 9bf46016eb0fbf13ee7dde413deed9aa4e6ef5f5 /gas/obj.h | |
parent | 26f42329caf1dcd4a410de61045208024156169f (diff) | |
download | gdb-42e04b360158941f4d490a38cad14b11593854fa.zip gdb-42e04b360158941f4d490a38cad14b11593854fa.tar.gz gdb-42e04b360158941f4d490a38cad14b11593854fa.tar.bz2 |
x86: Add {vex} pseudo prefix
There are 2-byte VEX prefix and 3-byte VEX prefix. 2-byte VEX prefix
can't encode all operands. By default, assembler tries 2-byte VEX prefix
first. {vex3} can be used to force 3-byte VEX prefix. This patch adds
{vex} pseudo prefix and keeps {vex2} for backward compatibility.
gas/
* config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
with vex_encoding_vex.
(parse_insn): Likewise.
* doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
and {vex3} documentation.
* testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
{vex}.
* testsuite/gas/i386/x86-64-pseudos.s: Likewise.
opcodes/
* i386-opc.tbl: Add {vex} pseudo prefix.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'gas/obj.h')
0 files changed, 0 insertions, 0 deletions