diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-10-14 04:17:54 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-10-14 04:20:55 -0700 |
commit | 8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1 (patch) | |
tree | 6787d9d057850f28f7fd940774843b80871ab90b /gdb/tic6x-tdep.c | |
parent | 8c8bd0babc6039a4cef7d60d57b1b68e7a7f2e70 (diff) | |
download | gdb-8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1.zip gdb-8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1.tar.gz gdb-8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1.tar.bz2 |
x86: Remove the prefix byte from non-VEX/EVEX base_opcode
Replace the prefix byte in non-VEX/EVEX base_opcode with PREFIX_0X66,
PREFIX_0XF2 or PREFIX_0XF3.
gas/
* config/tc-i386.c (load_insn_p): Check opcodeprefix == 0 for
base_opcode == 0xfc7.
(match_template): Likewise.
(process_suffix): Check opcodeprefix == PREFIX_0XF2 for CRC32.
(check_byte_reg): Likewise.
(output_insn): Don't add the 0xf3 prefix twice for PadLock
instructions. Don't add prefix from non-VEX/EVEX base_opcode.
opcodes/
* i386-gen.c (process_i386_opcode_modifier): Return 1 for
non-VEX/EVEX/prefix encoding.
(output_i386_opcode): Fail if non-VEX/EVEX/prefix base_opcode
has a prefix byte.
* i386-opc.tbl: Replace the prefix byte in non-VEX/EVEX
base_opcode with PREFIX_0X66, PREFIX_0XF2 or PREFIX_0XF3.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'gdb/tic6x-tdep.c')
0 files changed, 0 insertions, 0 deletions