Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
target/arm: Include helper-gen.h in translator.h
This had been included via tcg-op-common.h via tcg-op.h,
but that is going away.

It is needed for inlines within translator.h, so we might as well
do it there and not individually in each translator c file.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Jun 5, 2023
1 parent ad3d0e4 commit a46f42d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions target/arm/tcg/translate-a64.c
Expand Up @@ -29,8 +29,6 @@
#include "qemu/host-utils.h"
#include "semihosting/semihost.h"
#include "exec/gen-icount.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
#include "exec/log.h"
#include "cpregs.h"
#include "translate-a64.h"
Expand Down
1 change: 0 additions & 1 deletion target/arm/tcg/translate-sme.c
Expand Up @@ -23,7 +23,6 @@
#include "tcg/tcg-op-gvec.h"
#include "tcg/tcg-gvec-desc.h"
#include "translate.h"
#include "exec/helper-gen.h"
#include "translate-a64.h"
#include "fpu/softfloat.h"

Expand Down
2 changes: 0 additions & 2 deletions target/arm/tcg/translate-sve.c
Expand Up @@ -27,8 +27,6 @@
#include "arm_ldst.h"
#include "translate.h"
#include "internals.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
#include "exec/log.h"
#include "translate-a64.h"
#include "fpu/softfloat.h"
Expand Down
2 changes: 0 additions & 2 deletions target/arm/tcg/translate.c
Expand Up @@ -30,8 +30,6 @@
#include "qemu/bitops.h"
#include "arm_ldst.h"
#include "semihosting/semihost.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
#include "exec/log.h"
#include "cpregs.h"

Expand Down
1 change: 1 addition & 0 deletions target/arm/tcg/translate.h
Expand Up @@ -2,6 +2,7 @@
#define TARGET_ARM_TRANSLATE_H

#include "exec/translator.h"
#include "exec/helper-gen.h"
#include "internals.h"


Expand Down

0 comments on commit a46f42d

Please sign in to comment.