qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v11 20/55] target/arm: split vfp state setting from tcg helpers


From: Richard Henderson
Subject: Re: [RFC v11 20/55] target/arm: split vfp state setting from tcg helpers
Date: Wed, 24 Mar 2021 14:29:04 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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<cfontana@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.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]