[PATCH 0/8] x86: mnemonic and register string literals

Jan Beulich jbeulich@suse.com
Fri Jan 13 11:04:11 GMT 2023


There are some inefficiencies there, which the series tries to improve
on. Likely there are further gains to be had, some pointed out in post-
commit-message remarks.

1: abstract out obtaining of a template's mnemonic
2: move insn mnemonics to a separate table
3: re-use insn mnemonic strings as much as possible
4: absorb allocation in i386-gen
5: avoid strcmp() in a few places
6: embed register names in reg_entry
7: embed register and alike names in disassembler
8: split i386-gen's opcode hash entry struct

Jan


More information about the Binutils mailing list