aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-02-24 13:59:35 +0100
committerJan Beulich <jbeulich@suse.com>2023-02-24 13:59:35 +0100
commitcafa5ef72e29d0a203d0c07cbec4e0688c26d1eb (patch)
treec41857c717df8fb2e2ff879271e7f49574c56f5e /opcodes/i386-opc.h
parentc3bb24f5663f3e423f313bc16f27e32ef5e1dc0a (diff)
downloadbinutils-cafa5ef72e29d0a203d0c07cbec4e0688c26d1eb.zip
binutils-cafa5ef72e29d0a203d0c07cbec4e0688c26d1eb.tar.gz
binutils-cafa5ef72e29d0a203d0c07cbec4e0688c26d1eb.tar.bz2
x86: MONITOR/MWAIT are not SSE3 insns
These have their own CPUID bit and hence they should also have their own separate control.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 3597203..06c9e52 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -88,6 +88,8 @@ enum
CpuLZCNT,
/* POPCNT support required */
CpuPOPCNT,
+ /* MONITOR support required */
+ CpuMONITOR,
/* SSE4.1 support required */
CpuSSE4_1,
/* SSE4.2 support required */
@@ -350,6 +352,7 @@ typedef union i386_cpu_flags
unsigned int cpusse4a:1;
unsigned int cpulzcnt:1;
unsigned int cpupopcnt:1;
+ unsigned int cpumonitor:1;
unsigned int cpusse4_1:1;
unsigned int cpusse4_2:1;
unsigned int cpuavx:1;