]> sourceware.org Git - binutils-gdb.git/commit
x86: Rename VexOpcode to OpcodePrefix
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Oct 2020 02:28:58 +0000 (19:28 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Oct 2020 02:29:09 +0000 (19:29 -0700)
commit7b47a312561818d9853f8e89fa43a86304f7040c
treed242382570ab54bf6bbfa74ba2e26a0fcc6fb451
parent6248f5e4fc4ad1e433156520e44ac3217c39a621
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.
gas/ChangeLog
gas/config/tc-i386.c
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h
This page took 0.038671 seconds and 5 git commands to generate.