aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-10-18 08:26:56 +0200
committerJan Beulich <jbeulich@suse.com>2022-10-18 08:26:56 +0200
commitf117661d3ca39b36ba4e7673e422e89e7e9afb85 (patch)
tree8208315bcce1155364ba8dd53fb598a420ebf92b
parent02a8b5c25806339f801c80a5a364a963b2ece080 (diff)
downloadbinutils-f117661d3ca39b36ba4e7673e422e89e7e9afb85.zip
binutils-f117661d3ca39b36ba4e7673e422e89e7e9afb85.tar.gz
binutils-f117661d3ca39b36ba4e7673e422e89e7e9afb85.tar.bz2
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.
-rw-r--r--opcodes/i386-gen.c4
-rw-r--r--opcodes/i386-init.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 6d54b47..2bcef6f 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 b250a48..3894f1f 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,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