]> xenbits.xensource.com Git - qemu-xen.git/commit
target/arm: Make vfp_set_fpscr() call vfp_set_{fpcr, fpsr}
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Jun 2024 14:23:41 +0000 (15:23 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Jul 2024 10:41:33 +0000 (11:41 +0100)
commitb167325e938706433f00400a0586cedbe965d76d
treee29d603f697d2acf0284e37b6c1626ede12005b4
parent2de7cf9e0568f18203004a839c9bea0cb9ce96d3
target/arm: Make vfp_set_fpscr() call vfp_set_{fpcr, fpsr}

Make vfp_set_fpscr() call vfp_set_fpsr() and vfp_set_fpcr()
instead of the other way around.

The masking we do when getting and setting vfp.xregs[ARM_VFP_FPSCR]
is a little awkward, but we are going to change where we store the
underlying FPSR and FPCR information in a later commit, so it will
go away then.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240628142347.1283015-4-peter.maydell@linaro.org
target/arm/cpu.h
target/arm/vfp_helper.c