Re: [Qemu-devel] [PATCH] tcg-runtime: increase hit rate of lookup_tb_ptr

2017-06-14 Thread Richard Henderson
On 06/14/2017 01:27 PM, Emilio G. Cota wrote: On Wed, Jun 14, 2017 at 12:48:17 -0700, Richard Henderson wrote: We can call tb_htable_lookup even when the tb_jmp_cache is completely empty. Therefore, un-nest most of the code dependent on tb != NULL from the read from the cache. Signed-off-by: R

[Qemu-devel] [PATCH] tcg-runtime: increase hit rate of lookup_tb_ptr

2017-06-14 Thread Emilio G. Cota
On Wed, Jun 14, 2017 at 12:48:17 -0700, Richard Henderson wrote: > We can call tb_htable_lookup even when the tb_jmp_cache > is completely empty. Therefore, un-nest most of the code > dependent on tb != NULL from the read from the cache. > > Signed-off-by: Richard Henderson I just wrote this al