diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-12-22 09:33:26 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-12-22 09:33:26 +0100 |
commit | 88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73 (patch) | |
tree | 936635f8a6f7693dea8a9248e3e20c4dfcd1ad6b /opcodes/i386-gen.c | |
parent | 5091b9ee34b54fa8b2ab0947ad86e0f12475995c (diff) | |
download | fsf-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.c | 8 |
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[]. */ |