From: Jan Beulich Date: Thu, 9 Nov 2023 11:53:30 +0000 (+0100) Subject: x86: Intel Core processors do not support CMPXCHG16B X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3eda60e3d6edfddf081ed2e8eb0901b6f6279413;p=binutils-gdb.git 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. --- 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, \