aboutsummaryrefslogtreecommitdiff
path: root/gprof/search_list.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-11-24 09:55:51 +0100
committerJan Beulich <jbeulich@suse.com>2023-11-24 09:55:51 +0100
commitd3b01414b935be5c5d5f37e5df6b6767e9c68d25 (patch)
treee1fd63e5d0edd4a97cb6f61fadbdcaf2d8bcd8f8 /gprof/search_list.h
parent39bb3ade816faf42ec34cc7ca962ad350cb4d16a (diff)
downloadgdb-d3b01414b935be5c5d5f37e5df6b6767e9c68d25.zip
gdb-d3b01414b935be5c5d5f37e5df6b6767e9c68d25.tar.gz
gdb-d3b01414b935be5c5d5f37e5df6b6767e9c68d25.tar.bz2
x86: shrink opcode sets table
Have i386-gen produce merely the offsets into i386_optab[]. Besides allowing to shrink the table even on 32-bit builds, this results in removing a level of indirection from the frequently accessed current_templates, in return for adding a level of indirection when looking up mnemonics (commonly happening just once per insn). Plus for PIE builds of gas it also reduces the number of relocations by about two thousand. Finally a somewhat ugly static variable can also be eliminated from i386_displacement().
Diffstat (limited to 'gprof/search_list.h')
0 files changed, 0 insertions, 0 deletions