public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] x86: Intel Core processors do not support CMPXCHG16B
@ 2023-11-09 11:56 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2023-11-09 11:56 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3eda60e3d6edfddf081ed2e8eb0901b6f6279413

commit 3eda60e3d6edfddf081ed2e8eb0901b6f6279413
Author: Jan Beulich <jbeulich@suse.com>
Date:   Thu Nov 9 12:53:30 2023 +0100

    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:
---
 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, \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-09 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09 11:56 [binutils-gdb] x86: Intel Core processors do not support CMPXCHG16B Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).