On 10/9/18 10:51 AM, Emilio G. Cota wrote: > From: Richard Henderson <richard.hender...@linaro.org> > > Isolate the computation of an index from an address into a > helper before we change that function. > > Reviewed-by: Alex Bennée <alex.ben...@linaro.org> > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > [ cota: convert tlb_vaddr_to_host; use atomic_read on addr_write ] > Signed-off-by: Emilio G. Cota <c...@braap.org> > --- > accel/tcg/softmmu_template.h | 68 ++++++++++++++++---------------- > include/exec/cpu_ldst.h | 19 +++++++-- > include/exec/cpu_ldst_template.h | 25 ++++++------ > accel/tcg/cputlb.c | 61 +++++++++++++--------------- > 4 files changed, 90 insertions(+), 83 deletions(-)
Queued. r~