[07/10] x86: correct XSAVE* dependencies

Message ID 70971dfa-e30a-ec90-d797-808ecf674cc5@suse.com
State Accepted
Headers
Series x86: re-work ISA extension dependency handling |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

Jan Beulich Dec. 19, 2022, 10:47 a.m. UTC
  Like various other features AMX-TILE takes XSAVE as a prereq.

XSAVES, unconditionally using compacted format, in turn effectively
takes XSAVEC as a prereq (an SDM clarification to this effect is in the
works).
  

Patch

--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -210,7 +210,7 @@  static const dependency isa_dependencies
   { "SHA",
     "SSE2" },
   { "XSAVES",
-    "XSAVE" },
+    "XSAVEC" },
   { "XSAVEC",
     "XSAVE" },
   { "OSPKE",
@@ -221,6 +221,8 @@  static const dependency isa_dependencies
     "AVX2" },
   { "VPCLMULQDQ",
     "AVX2" },
+  { "AMX_TILE",
+    "XSAVE" },
   { "AMX_INT8",
     "AMX_TILE" },
   { "AMX_BF16",