Re: [Qemu-devel] [PATCH] tcg: Add tlb_index and tlb_entry helpers

2018-10-08 Thread Emilio G. Cota
On Sun, Oct 07, 2018 at 18:05:22 -0700, Richard Henderson wrote: > Isolate the computation of an index from an address into a > helper before we change that function. > > Signed-off-by: Richard Henderson > --- > > Emilio, this should make your dynamic tlb sizing patch 1/6 > significantly smaller

[Qemu-devel] [PATCH] tcg: Add tlb_index and tlb_entry helpers

2018-10-07 Thread Richard Henderson
Isolate the computation of an index from an address into a helper before we change that function. Signed-off-by: Richard Henderson --- Emilio, this should make your dynamic tlb sizing patch 1/6 significantly smaller. r~ --- accel/tcg/softmmu_template.h | 68 +-