From f117661d3ca39b36ba4e7673e422e89e7e9afb85 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 18 Oct 2022 08:26:56 +0200 Subject: [PATCH] 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. --- 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, 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