[Top][All Lists]

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

Re: [Qemu-arm] [Qemu-devel] [PATCH 22/26] target/arm: Add lazy-FP-stacki

From: Richard Henderson
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH 22/26] target/arm: Add lazy-FP-stacking support to v7m_stack_write()
Date: Tue, 23 Apr 2019 18:27:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/16/19 5:57 AM, Peter Maydell wrote:
> Pushing registers to the stack for v7M needs to handle three cases:
>  * the "normal" case where we pend exceptions
>  * an "ignore faults" case where we set FSR bits but
>    do not pend exceptions (this is used when we are
>    handling some kinds of derived exception on exception entry)
>  * a "lazy FP stacking" case, where different FSR bits
>    are set and the exception is pended differently
> Implement this by changing the existing flag argument that
> tells us whether to ignore faults or not into an enum that
> specifies which of the 3 modes we should handle.
> Signed-off-by: Peter Maydell <address@hidden>
> ---
>  target/arm/helper.c | 118 +++++++++++++++++++++++++++++---------------
>  1 file changed, 79 insertions(+), 39 deletions(-)

Reviewed-by: Richard Henderson <address@hidden>


reply via email to

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