]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: infer operand count of templates
authorJan Beulich <jbeulich@suse.com>
Wed, 3 Mar 2021 11:57:08 +0000 (12:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Mar 2021 11:57:08 +0000 (12:57 +0100)
commit75363b6d60eed4bb3eb4688fca75edc1f72ded9f
tree13c0c5e1ec2b1d95d0a9cde7fdbe41edf64f5f07
parent823337810468cc5775d0ebd645399756c86453d3
x86: infer operand count of templates

Having this count explicitly in the table is redundant and (even if just
slightly) disturbs clarity. Infer the count from the number of operands
actually found.

Also convert the "no operands" indicator from "{ 0 }" to just "{}", as
that (now) ends up being easier to parse.
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-opc.tbl