]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
tcg: Put target helper data into an array.
authorRichard Henderson <rth@twiddle.net>
Sat, 14 Sep 2013 22:57:22 +0000 (15:57 -0700)
committerRichard Henderson <rth@twiddle.net>
Thu, 10 Oct 2013 18:44:25 +0000 (11:44 -0700)
commit100b5e0170e86661aaf830869be930a1a201ed08
treea3db370b1d116a4abdecc838da63663151aaf300
parentf5daeec412b9624ba902bdba26edff88a1694ea6
tcg: Put target helper data into an array.

One call inside of a loop to tcg_register_helper instead of hundreds
of sequential calls.

Presumably more icache and branch prediction friendly; resulting binary
size mostly unchanged on x86_64, as we're trading 32-bit rip-relative
references in .text for full 64-bit pointers in .rodata.

Signed-off-by: Richard Henderson <rth@twiddle.net>
include/exec/def-helper.h
tcg/tcg.c