On 3/26/21 1:36 PM, Claudio Fontana wrote:
cpu-vfp.c: vfp_get_fpsr and vfp_set_fpsr are needed also for KVM,
so create a new cpu-vfp.c
tcg/cpu-vfp.c: vfp_get_fpscr_from_host and vv are TCG-only, so we
move the implementation to tcg/cpu-vfp.c
Signed-off-by: Claudio Fontana<cfont...@suse.de>
---
target/arm/cpu-vfp.h | 29 +++++
target/arm/cpu-vfp.c | 97 +++++++++++++++++
target/arm/tcg/cpu-vfp.c | 146 +++++++++++++++++++++++++
target/arm/tcg/vfp_helper.c | 210 +-----------------------------------
target/arm/meson.build | 1 +
target/arm/tcg/meson.build | 1 +
6 files changed, 276 insertions(+), 208 deletions(-)
create mode 100644 target/arm/cpu-vfp.h
create mode 100644 target/arm/cpu-vfp.c
create mode 100644 target/arm/tcg/cpu-vfp.c
One day we should s/host/softfp/g...
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~