On 3/23/21 9:46 AM, 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

kvm/helper-stubs.c: vfp_get_fpscr_from_host and vv stubs for KVM.

Signed-off-by: Claudio Fontana<cfont...@suse.de>
---
  target/arm/cpu-vfp.h          |  29 +++++
  target/arm/cpu-vfp.c          |  92 +++++++++++++++
  target/arm/kvm/helper-stubs.c |  10 ++
  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 +
  7 files changed, 281 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

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to