]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: templatize shift/rotate insns
authorJan Beulich <jbeulich@suse.com>
Thu, 28 Mar 2024 10:49:24 +0000 (11:49 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Mar 2024 10:49:24 +0000 (11:49 +0100)
commitfe17c02650776257c3a989006198c05cf417fc09
tree09d4ed4685fe7028723240efcf0f3f385ccf3fbd
parent42eb20eb357204960aed1c2c2d5d014cb94de2fe
x86: templatize shift/rotate insns

With the multitude of new APX templates, it finally becomes desirable to
further remove redundancy by also templatizing basic arithmetic insns.
Continue with the "ordinary" shift and rotate ones.

While there also drop the APX form of RCL/RCR with Imm1 omitted. Other
shift insns as well as ROR/ROL were deliberately left without this form
as well. Note that there's also no testsuite adjustment needed for this,
indicating that the form wasn't tested either.

Furthermore since RCL/RCR already had non-NDD APX forms, those end up
being added for the other 6 mnemonics, too.
opcodes/i386-opc.tbl
opcodes/i386-tbl.h