]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-i386.c
x86: also use D for MOVBE
authorJan Beulich <jbeulich@suse.com>
Wed, 3 Aug 2022 06:59:46 +0000 (08:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Aug 2022 06:59:46 +0000 (08:59 +0200)
commit2c735193b829aff44b37244205334bf71be9b814
tree619913e5ccd9959b8868ee013b74bdd9d869837b
parent8aaafe957ceee581e691d2f7f984cb40c58f2b5e
x86: also use D for MOVBE

First of all rename the meanwhile misleading Opcode_SIMD_FloatD, as it
has also been used for KMOV* and BNDMOV. Then simplify the condition
selecting which form if "reversing" to use - except for the MOV to/from
control/debug/test registers all extended opcode space insns use bit 0
(rather than bit 1) to indicate the direction (from/to memory) of an
operation. With that, D can simply be set on the first of the two
templates, while the other can be dropped.
gas/config/tc-i386.c
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h