aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2018-03-28 14:24:05 +0200
committerJan Beulich <jbeulich@suse.com>2018-03-28 14:24:05 +0200
commit8e6e0792d17be5d4321def520d12c1764dc0ba2a (patch)
tree4f8c29d5ea582494b91d4a7f32586388f8c70b98 /opcodes/i386-opc.h
parent9f123b911ec8c460304c3e1a3f18f1c2a311d97a (diff)
downloadfsf-binutils-gdb-8e6e0792d17be5d4321def520d12c1764dc0ba2a.zip
fsf-binutils-gdb-8e6e0792d17be5d4321def520d12c1764dc0ba2a.tar.gz
fsf-binutils-gdb-8e6e0792d17be5d4321def520d12c1764dc0ba2a.tar.bz2
x86: convert broadcast insn attribute to boolean
The (only) valid broadcast type for an insn can be inferred from other information.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index d4eae6f..5cf6c9e 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -572,16 +572,6 @@ enum
*/
VecESize,
- /* Broadcast factor.
- 0: No broadcast.
- 1: 1to16 broadcast.
- 2: 1to8 broadcast.
- */
-#define NO_BROADCAST 0
-#define BROADCAST_1TO16 1
-#define BROADCAST_1TO8 2
-#define BROADCAST_1TO4 3
-#define BROADCAST_1TO2 4
Broadcast,
/* Static rounding control is supported. */
@@ -672,7 +662,7 @@ typedef struct i386_opcode_modifier
unsigned int evex:3;
unsigned int masking:2;
unsigned int vecesize:1;
- unsigned int broadcast:3;
+ unsigned int broadcast:1;
unsigned int staticrounding:1;
unsigned int sae:1;
unsigned int disp8memshift:3;