diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-06-22 12:37:51 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-06-22 12:37:51 -0700 |
commit | a61cb9dbc6a8be0922ec5992cf125a5cd389e016 (patch) | |
tree | 8936713e9e1f85322c2f50c3b48dd48e428b6e1f /gas | |
parent | d4d5b571954a2bde2a14772d9b18027a9048eb2d (diff) | |
download | gdb-a61cb9dbc6a8be0922ec5992cf125a5cd389e016.zip gdb-a61cb9dbc6a8be0922ec5992cf125a5cd389e016.tar.gz gdb-a61cb9dbc6a8be0922ec5992cf125a5cd389e016.tar.bz2 |
Revert "x86: Don't check if AVX512 template requires AVX512VL"
This reverts commit c7face14225296a2f5d3ebeb8ace88c166d80c3e.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-i386.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index dcafac0..de35ee2 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -6288,10 +6288,11 @@ check_VecOperands (const insn_template *t) /* Templates allowing for ZMMword as well as YMMword and/or XMMword for any one operand are implicity requiring AVX512VL support if the actual operand size is YMMword or XMMword. Since this function runs after - template matching, there's no need to check for YMMword/XMMword nor - AVX512VL in the template. */ + template matching, there's no need to check for YMMword/XMMword in + the template. */ cpu = cpu_flags_and (t->cpu_flags, avx512); if (!cpu_flags_all_zero (&cpu) + && !t->cpu_flags.bitfield.cpuavx512vl && !cpu_arch_flags.bitfield.cpuavx512vl) { for (op = 0; op < t->operands; ++op) |