qemu-arm
[Top][All Lists]
Advanced

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

Re: [RFC PATCH v2 03/22] target/arm: Add PSTATE.ALLINT


From: Richard Henderson
Subject: Re: [RFC PATCH v2 03/22] target/arm: Add PSTATE.ALLINT
Date: Thu, 22 Feb 2024 09:25:26 -1000
User-agent: Mozilla Thunderbird

On 2/21/24 15:48, Jinjie Ruan wrote:
Why is this split out from env->pstate?

The allint bit matches the documentation for SPSR_EL1, which is how
env->pstate is documented.  The other exclusions have some performance
imperative which I don't see for allint.

It seems to me that allint is a bit like daif, so it is reasonable to
maintain it separately in ENV as what daif do it.

daif is shared between aa64 pstate and aa32 cpsr; keeping those bits separate means we don't have to check the execution state in order to find them.

allint has no aa32 counterpart, so it can live in pstate always.


r~



reply via email to

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