qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Peter Maydell
Subject: Re: [PATCH 2/8] target/arm: Optimize cpu_mmu_index
Date: Mon, 2 Mar 2020 12:03:21 +0000

On Tue, 25 Feb 2020 at 03:14, Richard Henderson
<address@hidden> 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 env->hflags is always stable in
a helper", or "within helpers, and env->hflags is stable for the
particular set of helpers where we use cpu_mmu_index, though it might
not be in other helpers" ?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]