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.mayd...@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.hender...@linaro.org>

r~

Reply via email to