[PATCH] x86: Decouple AMX-AVX512 from AVX10.2 and imply AVX512F
Haochen Jiang
haochen.jiang@intel.com
Tue Jul 15 07:13:11 GMT 2025
Hi all,
In ISE058, the AVX10.2 imply is removed from AMX-AVX512. This
leads to re-consideration on the imply for AMX-AVX512.
Since it is using zmm register and using zmm register only, we
need to at least imply AVX512F. AVX512VL is not needed since it
is not using xmm/ymms.
On the other hand, if we imply AVX10.1 for AMX-AVX512, disabling
avx10.1 will lead to disabling AMX-AVX512. This would be a surprise
for users.
Based on the two reasons above, the patch is decoupling AMX-AVX512
from AVX10.2 and imply AVX512F.
Ok for trunk?
Thx,
Haochen
---
opcodes/ChangeLog:
* i386-gen.c: Imply AVX512F instead of AVX10.2.
* i386-init.h: Regenerated.
---
opcodes/i386-gen.c | 2 +-
opcodes/i386-init.h | 34 +++++++++++++++++-----------------
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index e90e2faa8ab..a128a1bf012 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -276,7 +276,7 @@ static const dependency isa_dependencies[] =
{ "AMX_MOVRS",
"AMX_TILE" },
{ "AMX_AVX512",
- "AMX_TILE|AVX10_2" },
+ "AMX_TILE|AVX512F" },
{ "KL",
"SSE2" },
{ "WIDEKL",
--
2.31.1
More information about the Binutils
mailing list