Browse Source

target/arm: extract helper-a64.h from helper.h

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-id: 20260219040150.2098396-5-pierrick.bouvier@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
master
Pierrick Bouvier 6 months ago
committed by Peter Maydell
parent
commit
903a87216c
  1. 14
      target/arm/helper-a64.h
  2. 1
      target/arm/helper.h
  3. 0
      target/arm/tcg/helper-a64-defs.h
  4. 4
      target/arm/tcg/helper-a64.c
  5. 1
      target/arm/tcg/mte_helper.c
  6. 1
      target/arm/tcg/pauth_helper.c
  7. 1
      target/arm/tcg/sve_helper.c
  8. 1
      target/arm/tcg/translate-a64.c
  9. 1
      target/arm/tcg/vec_helper.c

14
target/arm/helper-a64.h

@ -0,0 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef HELPER_A64_H
#define HELPER_A64_H
#include "exec/helper-proto-common.h"
#include "exec/helper-gen-common.h"
#define HELPER_H "tcg/helper-a64-defs.h"
#include "exec/helper-proto.h.inc"
#include "exec/helper-gen.h.inc"
#undef HELPER_H
#endif /* HELPER_A64_H */

1
target/arm/helper.h

@ -3,7 +3,6 @@
#include "tcg/helper.h"
#ifdef TARGET_AARCH64
#include "tcg/helper-a64.h"
#include "tcg/helper-sve.h"
#include "tcg/helper-sme.h"
#endif

0
target/arm/tcg/helper-a64.h → target/arm/tcg/helper-a64-defs.h

4
target/arm/tcg/helper-a64.c

@ -22,6 +22,7 @@
#include "cpu.h"
#include "gdbstub/helpers.h"
#include "exec/helper-proto.h"
#include "helper-a64.h"
#include "qemu/host-utils.h"
#include "qemu/log.h"
#include "qemu/main-loop.h"
@ -43,6 +44,9 @@
#endif
#include "vec_internal.h"
#define HELPER_H "tcg/helper-a64-defs.h"
#include "exec/helper-info.c.inc"
/* C2.4.7 Multiply and divide */
/* special cases for 0 and LLONG_MIN are mandated by the standard */
uint64_t HELPER(udiv64)(uint64_t num, uint64_t den)

1
target/arm/tcg/mte_helper.c

@ -31,6 +31,7 @@
#endif
#include "accel/tcg/cpu-ldst.h"
#include "accel/tcg/probe.h"
#include "helper-a64.h"
#include "exec/helper-proto.h"
#include "exec/tlb-flags.h"
#include "accel/tcg/cpu-ops.h"

1
target/arm/tcg/pauth_helper.c

@ -22,6 +22,7 @@
#include "internals.h"
#include "cpu-features.h"
#include "accel/tcg/cpu-ldst.h"
#include "helper-a64.h"
#include "exec/helper-proto.h"
#include "tcg/tcg-gvec-desc.h"
#include "qemu/xxhash.h"

1
target/arm/tcg/sve_helper.c

@ -24,6 +24,7 @@
#include "exec/helper-proto.h"
#include "exec/target_page.h"
#include "exec/tlb-flags.h"
#include "helper-a64.h"
#include "tcg/tcg-gvec-desc.h"
#include "fpu/softfloat.h"
#include "tcg/tcg.h"

1
target/arm/tcg/translate-a64.c

@ -18,6 +18,7 @@
*/
#include "qemu/osdep.h"
#include "exec/target_page.h"
#include "helper-a64.h"
#include "translate.h"
#include "translate-a64.h"
#include "qemu/log.h"

1
target/arm/tcg/vec_helper.c

@ -20,6 +20,7 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "helper-a64.h"
#include "tcg/tcg-gvec-desc.h"
#include "fpu/softfloat.h"
#include "qemu/int128.h"

Loading…
Cancel
Save