diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-12-22 09:34:50 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-12-22 09:34:50 +0100 |
commit | 9a019125a64b69a37dc4c11355078c3df5a3e064 (patch) | |
tree | 9a7af319e51a9af8031154e13a97a2b32b799bbc /opcodes | |
parent | b236b82a1ae64299823615fce995a51ae944e7dc (diff) | |
download | gdb-9a019125a64b69a37dc4c11355078c3df5a3e064.zip gdb-9a019125a64b69a37dc4c11355078c3df5a3e064.tar.gz gdb-9a019125a64b69a37dc4c11355078c3df5a3e064.tar.bz2 |
x86: correct dependencies of a few AVX512 sub-features
Like AVX512-FP16, several other extensions require wider than 16-bit
mask registers. As a result they take AVX512BW as a prereq, not (just)
AVX512F. Which in turn points out wrong expectations in the noavx512-1
testcase.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/i386-gen.c | 8 | ||||
-rw-r--r-- | opcodes/i386-init.h | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index ee6cecd..46d9f6f 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -184,7 +184,7 @@ static const dependency isa_dependencies[] = { "AVX512IFMA", "AVX512F" }, { "AVX512VBMI", - "AVX512F" }, + "AVX512BW" }, { "AVX512_4FMAPS", "AVX512F" }, { "AVX512_4VNNIW", @@ -192,15 +192,15 @@ static const dependency isa_dependencies[] = { "AVX512_VPOPCNTDQ", "AVX512F" }, { "AVX512_VBMI2", - "AVX512F" }, + "AVX512BW" }, { "AVX512_VNNI", "AVX512F" }, { "AVX512_BITALG", - "AVX512F" }, + "AVX512BW" }, { "AVX512_VP2INTERSECT", "AVX512F" }, { "AVX512_BF16", - "AVX512F" }, + "AVX512BW" }, { "AVX512_FP16", "AVX512BW" }, { "IAMCU", diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h index 29343b9..1dc8df0 100644 --- a/opcodes/i386-init.h +++ b/opcodes/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