summaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-03-20 16:56:53 +0100
committerJan Beulich <jbeulich@suse.com>2023-03-20 16:56:53 +0100
commiteea96d3f86cc1ff96447b6fc096bb5f371b938b6 (patch)
treeae0c5a78bc18c3926b7964bb10ad2dda8400a9e8 /gas/config
parentecb96e55497e44b6c0818553dcb86dfb96b8deef (diff)
downloadbinutils-gdb-eea96d3f86cc1ff96447b6fc096bb5f371b938b6.tar.gz
x86: VexVVVV is now merely a boolean
With the SDM long having dropped the NDS/NDD/DDS concept of identifying encoding variants, we can finally do away with this concept as well. Of the few consumers of the attribute, only an assertion was still checking for a particular value, which we don't really need to retain. When touching lines anyway, modernize other aspects as well. This often improves similarity to adjacent lines.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 2f75e01f734..ebfcda4f364 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -8297,7 +8297,7 @@ build_modrm_byte (void)
ZMM register.
2. 4 operands: 4 register operands or 3 register operands
plus 1 memory operand, with VexXDS. */
- gas_assert (i.tm.opcode_modifier.vexvvvv == VEXXDS
+ gas_assert (i.tm.opcode_modifier.vexvvvv
&& i.tm.opcode_modifier.vexw
&& i.tm.operand_types[dest].bitfield.class == RegSIMD);