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

Message ID beeaf9c6-7d1e-bcc6-624a-918c4a6c293e@suse.com
Headers
Series x86: mnemonic and register string literals |

Message

Jan Beulich Jan. 13, 2023, 11:04 a.m. UTC
  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