Re: [PATCH 2/8] target/arm: Optimize cpu_mmu_index

2020-03-02 Thread Richard Henderson
On 3/2/20 4:03 AM, Peter Maydell wrote: > On Tue, 25 Feb 2020 at 03:14, Richard Henderson > wrote: >> >> We now cache the core mmu_idx in env->hflags. Rather than recompute >> from scratch, extract the field. All of the uses of cpu_mmu_index >> within target/arm are within helpers where env->hfl

Re: [PATCH 2/8] target/arm: Optimize cpu_mmu_index

2020-03-02 Thread Peter Maydell
On Tue, 25 Feb 2020 at 03:14, Richard Henderson wrote: > > We now cache the core mmu_idx in env->hflags. Rather than recompute > from scratch, extract the field. All of the uses of cpu_mmu_index > within target/arm are within helpers where env->hflags is stable. Do you mean "within helpers, and