Re: [PATCH 2/7] target/arm: Handle FPU being disabled in FPCXT_NS accesses

2021-06-18 Thread Richard Henderson
On 6/18/21 7:10 AM, Peter Maydell wrote: If the guest makes an FPCXT_NS access when the FPU is disabled, one of two things happens: * if there is no active FP context, then the insn behaves the same way as if the FPU was enabled: writes ignored, reads same value as FPDSCR_NS * if ther

[PATCH 2/7] target/arm: Handle FPU being disabled in FPCXT_NS accesses

2021-06-18 Thread Peter Maydell
If the guest makes an FPCXT_NS access when the FPU is disabled, one of two things happens: * if there is no active FP context, then the insn behaves the same way as if the FPU was enabled: writes ignored, reads same value as FPDSCR_NS * if there is an active FP context, then we take a NOCP