[PATCH] x86: correct CPU_AMX_{BF16,INT8}_FLAGS
Jan Beulich
jbeulich@suse.com
Mon Oct 17 07:44:51 GMT 2022
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.
---
Ideally we would teach i386-gen to at least check (better derive) such
two-way dependencies.
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -303,9 +303,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",
More information about the Binutils
mailing list