diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-08-03 08:59:46 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-08-03 08:59:46 +0200 |
commit | 2c735193b829aff44b37244205334bf71be9b814 (patch) | |
tree | 619913e5ccd9959b8868ee013b74bdd9d869837b /opcodes/i386-opc.h | |
parent | 8aaafe957ceee581e691d2f7f984cb40c58f2b5e (diff) | |
download | binutils-gdb-2c735193b829aff44b37244205334bf71be9b814.tar.gz |
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.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index f79ffb7e3c6..248e576d2f5 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -928,7 +928,7 @@ typedef struct insn_template unset if Regmem --> Reg. */ #define Opcode_FloatR 0x8 /* Bit to swap src/dest for float insns. */ #define Opcode_FloatD 0x400 /* Direction bit for float insns. */ -#define Opcode_SIMD_FloatD 0x1 /* Direction bit for SIMD fp insns. */ +#define Opcode_ExtD 0x1 /* Direction bit for extended opcode space insns. */ #define Opcode_SIMD_IntD 0x10 /* Direction bit for SIMD int insns. */ /* The next value is arbitrary, as long as it's non-zero and distinct from all other values above. */ |