qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 03/13] target/arm: Make functions used by m-nocp global


From: Richard Henderson
Subject: Re: [PATCH 03/13] target/arm: Make functions used by m-nocp global
Date: Tue, 27 Apr 2021 09:42:14 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/13/21 9:07 AM, Peter Maydell wrote:
We want to split out the .c.inc files which are currently included
into translate.c so they are separate compilation units.  To do this
we need to make some functions which are currently file-local to
translate.c have global scope; create a translate-a32.h paralleling
the existing translate-a64.h as a place for these declarations to
live, so that code moved into the new compilation units can call
them.

The functions made global here are those required by the
m-nocp.decode functions, except that I have converted the whole
family of {read,write}_neon_element* and also both the load_cpu and
store_cpu functions for consistency, even though m-nocp only wants a
few functions from each.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/translate-a32.h     | 57 ++++++++++++++++++++++++++++++++++
  target/arm/translate.c         | 39 +++++------------------
  target/arm/translate-vfp.c.inc |  2 +-
  3 files changed, 65 insertions(+), 33 deletions(-)
  create mode 100644 target/arm/translate-a32.h

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

r~



reply via email to

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