qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 2/3] PPC64: Implement slbmte


From: Paul Brook
Subject: Re: [Qemu-devel] Re: [PATCH 2/3] PPC64: Implement slbmte
Date: Mon, 2 Mar 2009 19:07:42 +0000
User-agent: KMail/1.9.9

> >>  target_ulong helper_load_sr (target_ulong sr_num)
> >>  {
> >> +    if (env->mmu_model & POWERPC_MMU_64)
> >> +        return ppc_load_sr(env, sr_num);
> >>     return env->sr[sr_num];
> >>  }
> >
> > It would be faster to move the MMU model checks to translation time.
>
> The problem is that we don't know which -cpu the user will give us
> when we run qemu-system-ppc64.

You're confusing translation time with compile time.

Paul




reply via email to

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