diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-10-13 19:28:58 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-10-13 19:29:09 -0700 |
commit | 7b47a312561818d9853f8e89fa43a86304f7040c (patch) | |
tree | d242382570ab54bf6bbfa74ba2e26a0fcc6fb451 /opcodes/i386-gen.c | |
parent | 6248f5e4fc4ad1e433156520e44ac3217c39a621 (diff) | |
download | binutils-gdb-7b47a312561818d9853f8e89fa43a86304f7040c.tar.gz |
x86: Rename VexOpcode to OpcodePrefix
Rename VexOpcode to OpcodePrefix so that OpcodePrefix can be used for
regular encoding prefix.
gas/
* config/tc-i386.c (build_vex_prefix): Replace vexopcode with
opcodeprefix.
(build_evex_prefix): Likewise.
(is_any_vex_encoding): Don't check vexopcode.
(output_insn): Handle opcodeprefix.
opcodes/
* i386-gen.c (opcode_modifiers): Replace VexOpcode with
OpcodePrefix.
* i386-opc.h (VexOpcode): Renamed to ...
(OpcodePrefix): This.
(PREFIX_NONE): New.
(PREFIX_0X66): Likewise.
(PREFIX_0XF2): Likewise.
(PREFIX_0XF3): Likewise.
* i386-opc.tbl (Prefix_0X66): New.
(Prefix_0XF2): Likewise.
(Prefix_0XF3): Likewise.
Replace VexOpcode= with OpcodePrefix=. Use Prefix_0X66 on xorpd.
Use Prefix_0XF3 on cvtdq2pd. Use Prefix_0XF2 on cvtpd2dq.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r-- | opcodes/i386-gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index 95c5852b623..81c68cdf433 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -695,7 +695,7 @@ static bitfield opcode_modifiers[] = BITFIELD (Vex), BITFIELD (VexVVVV), BITFIELD (VexW), - BITFIELD (VexOpcode), + BITFIELD (OpcodePrefix), BITFIELD (VexSources), BITFIELD (SIB), BITFIELD (SSE2AVX), |