]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/i386-mnem.h
x86: re-use insn mnemonic strings as much as possible
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Jan 2023 09:16:17 +0000 (10:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Jan 2023 09:16:17 +0000 (10:16 +0100)
commit3e451ee4a654ae2eec22b6f807cf6ad00f7969b9
treeecd6b333ad9b3c8873a0c4a22295877777001c2f
parent5c1392029158fa5b2946953394e566c83a0602e1
x86: re-use insn mnemonic strings as much as possible

Compact the mnemonic string table such that the tails of longer
mnemonics are re-used for shorter ones, going beyond what compilers
would typically do, but matching what ELF linkers may do when processing
SHF_MERGE|SHF_STRINGS sections. This reduces table size by about 12.5%.
opcodes/i386-gen.c
opcodes/i386-mnem.h
opcodes/i386-tbl.h