public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] x86: correct CPU_AMX_{BF16,INT8}_FLAGS
@ 2022-10-18  6:27 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2022-10-18  6:27 UTC (permalink / raw)
  To: bfd-cvs

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

commit f117661d3ca39b36ba4e7673e422e89e7e9afb85
Author: Jan Beulich <jbeulich@suse.com>
Date:   Tue Oct 18 08:26:56 2022 +0200

    x86: correct CPU_AMX_{BF16,INT8}_FLAGS
    
    AMX-TILE is a prereq to these, as already correctly expressed by
    CPU_ANY_AMX_TILE_FLAGS. Express the dependency also in the reverse
    ("positive") direction.

Diff:
---
 opcodes/i386-gen.c  | 4 ++--
 opcodes/i386-init.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 6d54b472abe..2bcef6f5b50 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -302,9 +302,9 @@ static initializer cpu_flag_init[] =
   { "CPU_CLDEMOTE_FLAGS",
     "CpuCLDEMOTE" },
   { "CPU_AMX_INT8_FLAGS",
-    "CpuAMX_INT8" },
+    "CPU_AMX_TILE_FLAGS|CpuAMX_INT8" },
   { "CPU_AMX_BF16_FLAGS",
-    "CpuAMX_BF16" },
+    "CPU_AMX_TILE_FLAGS|CpuAMX_BF16" },
   { "CPU_AMX_TILE_FLAGS",
     "CpuAMX_TILE" },
   { "CPU_MOVDIRI_FLAGS",
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h
index b250a48c905..3894f1f7585 100644
--- a/opcodes/i386-init.h
+++ b/opcodes/i386-init.h
@@ -1175,7 +1175,7 @@
       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, 1, 0, 0, \
+      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 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 } }
 
@@ -1184,7 +1184,7 @@
       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, 1, 0, \
+      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 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 } }

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

only message in thread, other threads:[~2022-10-18  6:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18  6:27 [binutils-gdb] x86: correct CPU_AMX_{BF16,INT8}_FLAGS 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).