Browse Source

target/arm: extract helper-sve.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-6-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
af4ff26d4d
  1. 14
      target/arm/helper-sve.h
  2. 1
      target/arm/helper.h
  3. 3
      target/arm/tcg/gengvec64.c
  4. 0
      target/arm/tcg/helper-sve-defs.h
  5. 3
      target/arm/tcg/sve_helper.c
  6. 1
      target/arm/tcg/translate-a64.c
  7. 2
      target/arm/tcg/translate-sme.c
  8. 2
      target/arm/tcg/translate-sve.c
  9. 1
      target/arm/tcg/vec_helper.c

14
target/arm/helper-sve.h

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

1
target/arm/helper.h

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

3
target/arm/tcg/gengvec64.c

@ -18,10 +18,11 @@
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "helper-sve.h"
#include "translate.h"
#include "translate-a64.h"
static void gen_rax1_i64(TCGv_i64 d, TCGv_i64 n, TCGv_i64 m)
{
tcg_gen_rotli_i64(d, m, 1);

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

3
target/arm/tcg/sve_helper.c

@ -25,6 +25,7 @@
#include "exec/target_page.h"
#include "exec/tlb-flags.h"
#include "helper-a64.h"
#include "helper-sve.h"
#include "tcg/tcg-gvec-desc.h"
#include "fpu/softfloat.h"
#include "tcg/tcg.h"
@ -38,6 +39,8 @@
#include "user/page-protection.h"
#endif
#define HELPER_H "tcg/helper-sve-defs.h"
#include "exec/helper-info.c.inc"
/* Return a value for NZCV as per the ARM PredTest pseudofunction.
*

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

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

2
target/arm/tcg/translate-sme.c

@ -18,6 +18,8 @@
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "helper-sve.h"
#include "translate.h"
#include "translate-a64.h"

2
target/arm/tcg/translate-sve.c

@ -18,6 +18,8 @@
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "helper-sve.h"
#include "translate.h"
#include "translate-a64.h"
#include "fpu/softfloat.h"

1
target/arm/tcg/vec_helper.c

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

Loading…
Cancel
Save