On Sun, 22 Jun 2025 at 00:52, Richard Henderson <richard.hender...@linaro.org> wrote: > > Rather than repeatedly copying FPST_FPCR to locals > and setting default nan mode, create dedicated float_status. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > target/arm/cpu.h | 12 +++++++++++- > target/arm/cpu.c | 4 ++++ > target/arm/tcg/vfp_helper.c | 10 ++++++++++ > 3 files changed, 25 insertions(+), 1 deletion(-)
We should also add FPST_ZA and FPST_ZA_F16 to the comment in vfp_get_fpsr_from_host(): /* * We do not merge in flags from FPST_AH or FPST_AH_F16, because * they are used for insns that must not set the cumulative exception bits. */ Otherwise Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM