From 3eda60e3d6edfddf081ed2e8eb0901b6f6279413 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 9 Nov 2023 12:53:30 +0100 Subject: [PATCH] x86: Intel Core processors do not support CMPXCHG16B This being a 64-bit-only instruction (see also i386-opc.tbl) it cannot possibly be supported by CPUs not supporting 64-bit mode. --- opcodes/i386-gen.c | 2 +- opcodes/i386-init.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index bb58afcbc06..b2ddda3755b 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -63,7 +63,7 @@ static const dependency isa_dependencies[] = { "NOCONA", "GENERIC64|FISTTP|SSE3|MONITOR|CX16" }, { "CORE", - "P4|FISTTP|SSE3|MONITOR|CX16" }, + "P4|FISTTP|SSE3|MONITOR" }, { "CORE2", "NOCONA|SSSE3" }, { "COREI7", diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h index d27c8b4658e..475db31e099 100644 --- a/opcodes/i386-init.h +++ b/opcodes/i386-init.h @@ -1541,7 +1541,7 @@ #define CPU_CORE_FLAGS \ { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, \ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ - 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ -- 2.30.2