[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH 23/26] target/arm: Implement M-profil
From: |
Richard Henderson |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH 23/26] target/arm: Implement M-profile lazy FP state preservation |
Date: |
Tue, 23 Apr 2019 19:04:18 -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:
> The M-profile architecture floating point system supports
> lazy FP state preservation, where FP registers are not
> pushed to the stack when an exception occurs but are instead
> only saved if and when the first FP instruction in the exception
> handler is executed. Implement this in QEMU, corresponding
> to the check of LSPACT in the pseudocode ExecuteFPCheck().
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> target/arm/cpu.h | 3 ++
> target/arm/helper.h | 2 +
> target/arm/translate.h | 1 +
> target/arm/helper.c | 112 +++++++++++++++++++++++++++++++++++++++++
> target/arm/translate.c | 22 ++++++++
> 5 files changed, 140 insertions(+)
Reviewed-by: Richard Henderson <address@hidden>
r~
- Re: [Qemu-arm] [Qemu-devel] [PATCH 18/26] target/arm: Set FPCCR.S when executing M-profile floating point insns, (continued)
- [Qemu-arm] [PATCH 21/26] target/arm: New function armv7m_nvic_set_pending_lazyfp(), Peter Maydell, 2019/04/16
- [Qemu-arm] [PATCH 26/26] target/arm: Enable FPU for Cortex-M4 and Cortex-M33, Peter Maydell, 2019/04/16
- [Qemu-arm] [PATCH 22/26] target/arm: Add lazy-FP-stacking support to v7m_stack_write(), Peter Maydell, 2019/04/16
- [Qemu-arm] [PATCH 24/26] target/arm: Implement VLSTM for v7M CPUs with an FPU, Peter Maydell, 2019/04/16
- [Qemu-arm] [PATCH 25/26] target/arm: Implement VLLDM for v7M CPUs with an FPU, Peter Maydell, 2019/04/16
- [Qemu-arm] [PATCH 23/26] target/arm: Implement M-profile lazy FP state preservation, Peter Maydell, 2019/04/16
- Re: [Qemu-arm] [Qemu-devel] [PATCH 23/26] target/arm: Implement M-profile lazy FP state preservation,
Richard Henderson <=