aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-12-22 09:33:26 +0100
committerJan Beulich <jbeulich@suse.com>2022-12-22 09:33:26 +0100
commit88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73 (patch)
tree936635f8a6f7693dea8a9248e3e20c4dfcd1ad6b /opcodes/i386-gen.c
parent5091b9ee34b54fa8b2ab0947ad86e0f12475995c (diff)
downloadfsf-binutils-gdb-88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73.zip
fsf-binutils-gdb-88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73.tar.gz
fsf-binutils-gdb-88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73.tar.bz2
x86: correct SSE dependencies
SSE itself takes FXSR as a prereq. Like AES, PCLMUL, and SHA both GFNI and KL take SSE2 as a prereq, for operating on packed integers. And while correcting KL also record it as a prereq to WIDEKL.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 27721c5..b88ed6a 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -119,6 +119,8 @@ static const dependency isa_dependencies[] =
"387" },
{ "FISTTP",
"687" },
+ { "SSE",
+ "FXSR" },
{ "SSE2",
"SSE" },
{ "SSE3",
@@ -213,12 +215,18 @@ static const dependency isa_dependencies[] =
"XSAVE" },
{ "OSPKE",
"XSAVE" },
+ { "GFNI",
+ "SSE2" },
{ "AMX_INT8",
"AMX_TILE" },
{ "AMX_BF16",
"AMX_TILE" },
{ "AMX_FP16",
"AMX_TILE" },
+ { "KL",
+ "SSE2" },
+ { "WIDEKL",
+ "KL" },
};
/* This array is populated as process_i386_initializers() walks cpu_flags[]. */