diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-12-28 17:46:59 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-12-31 22:23:38 +0100 |
commit | f96a38347a0c6ab31fbb6200c13e684d1fee449c (patch) | |
tree | 61f7f5b8544a44d210927d4521cd55cc9f353c94 /linux-user/arm/nwfpe | |
parent | 8aac08b10b2e8c131b9385d2dc37e4a02e1d12c1 (diff) | |
download | qemu-f96a38347a0c6ab31fbb6200c13e684d1fee449c.zip qemu-f96a38347a0c6ab31fbb6200c13e684d1fee449c.tar.gz qemu-f96a38347a0c6ab31fbb6200c13e684d1fee449c.tar.bz2 |
TCG: Improve tb_phys_hash_func()
Most of emulated CPU have instructions aligned on 16 or 32 bits, while
on others GCC tries to align the target jump location. This means that
1/2 or 3/4 of tb_phys_hash entries are never used.
Update the hash function tb_phys_hash_func() to ignore the two lowest
bits of the address. This brings a 6% speed-up when booting a MIPS
image.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/arm/nwfpe')
0 files changed, 0 insertions, 0 deletions