From: Jan Beulich Date: Tue, 18 Oct 2022 06:26:56 +0000 (+0200) Subject: x86: correct CPU_AMX_{BF16,INT8}_FLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f117661d3ca39b36ba4e7673e422e89e7e9afb85;p=binutils-gdb.git 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 --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 } }