qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC v12 21/65] target/arm: split vfp state setting from tcg helpers


From: Richard Henderson
Subject: Re: [RFC v12 21/65] target/arm: split vfp state setting from tcg helpers
Date: Sun, 28 Mar 2021 10:10:10 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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

r~



reply via email to

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