Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tcg: Split tcg/tcg-op-common.h from tcg/tcg-op.h
Create tcg/tcg-op-common.h, moving everything that does not concern
TARGET_LONG_BITS or TCGv.  Adjust tcg/*.c to use the new header
instead of tcg-op.h, in preparation for compiling tcg/ only once.

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 f15f893 commit ad3d0e4
Show file tree
Hide file tree
Showing 9 changed files with 1,007 additions and 1,008 deletions.
996 changes: 996 additions & 0 deletions include/tcg/tcg-op-common.h

Large diffs are not rendered by default.

1,004 changes: 4 additions & 1,000 deletions include/tcg/tcg-op.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tcg/optimize.c
Expand Up @@ -25,7 +25,7 @@

#include "qemu/osdep.h"
#include "qemu/int128.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-common.h"
#include "tcg-internal.h"

#define CASE_OP_32_64(x) \
Expand Down
2 changes: 1 addition & 1 deletion tcg/tcg-op-gvec.c
Expand Up @@ -20,7 +20,7 @@
#include "qemu/osdep.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-common.h"
#include "tcg/tcg-op-gvec.h"
#include "tcg/tcg-gvec-desc.h"

Expand Down
2 changes: 1 addition & 1 deletion tcg/tcg-op-ldst.c
Expand Up @@ -26,7 +26,7 @@
#include "exec/exec-all.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-common.h"
#include "tcg/tcg-mo.h"
#include "exec/plugin-gen.h"
#include "tcg-internal.h"
Expand Down
2 changes: 1 addition & 1 deletion tcg/tcg-op-vec.c
Expand Up @@ -20,7 +20,7 @@
#include "qemu/osdep.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-common.h"
#include "tcg/tcg-mo.h"
#include "tcg-internal.h"

Expand Down
2 changes: 1 addition & 1 deletion tcg/tcg-op.c
Expand Up @@ -26,7 +26,7 @@
#include "exec/exec-all.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-common.h"
#include "exec/plugin-gen.h"
#include "tcg-internal.h"

Expand Down
2 changes: 1 addition & 1 deletion tcg/tcg.c
Expand Up @@ -42,7 +42,7 @@

#include "exec/exec-all.h"
#include "exec/tlb-common.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-common.h"

#if UINTPTR_MAX == UINT32_MAX
# define ELF_CLASS ELFCLASS32
Expand Down
3 changes: 1 addition & 2 deletions tcg/tci.c
Expand Up @@ -18,8 +18,7 @@
*/

#include "qemu/osdep.h"
#include "exec/cpu_ldst.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg.h"
#include "tcg/tcg-ldst.h"
#include <ffi.h>

Expand Down

0 comments on commit ad3d0e4

Please sign in to comment.