tcg: Include 'tcg-target-has.h' once in 'tcg-has.h'
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250108215156.8731-14-philmd@linaro.org>
This commit is contained in:
parent
8ae72b38b5
commit
f15d00a4c1
@ -47,8 +47,6 @@ typedef enum {
|
||||
|
||||
#define TCG_TARGET_NB_REGS 64
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#define TCG_TARGET_DEFAULT_MO (0)
|
||||
|
||||
#endif /* AARCH64_TCG_TARGET_H */
|
||||
|
@ -70,8 +70,6 @@ typedef enum {
|
||||
|
||||
#define TCG_TARGET_NB_REGS 32
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#define TCG_TARGET_DEFAULT_MO (0)
|
||||
|
||||
#endif
|
||||
|
@ -88,8 +88,6 @@ typedef enum {
|
||||
TCG_REG_CALL_STACK = TCG_REG_ESP
|
||||
} TCGReg;
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
/* This defines the natural memory order supported by this
|
||||
* architecture before guarantees made by various barrier
|
||||
* instructions.
|
||||
|
@ -85,8 +85,6 @@ typedef enum {
|
||||
TCG_VEC_TMP0 = TCG_REG_V23,
|
||||
} TCGReg;
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#define TCG_TARGET_DEFAULT_MO (0)
|
||||
|
||||
#endif /* LOONGARCH_TCG_TARGET_H */
|
||||
|
@ -70,8 +70,6 @@ typedef enum {
|
||||
TCG_AREG0 = TCG_REG_S8,
|
||||
} TCGReg;
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#define TCG_TARGET_DEFAULT_MO 0
|
||||
|
||||
#endif
|
||||
|
@ -53,8 +53,6 @@ typedef enum {
|
||||
TCG_AREG0 = TCG_REG_R27
|
||||
} TCGReg;
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#define TCG_TARGET_DEFAULT_MO (0)
|
||||
|
||||
#endif
|
||||
|
@ -57,8 +57,6 @@ typedef enum {
|
||||
TCG_REG_TMP2 = TCG_REG_T4,
|
||||
} TCGReg;
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#define TCG_TARGET_DEFAULT_MO (0)
|
||||
|
||||
#endif
|
||||
|
@ -51,8 +51,6 @@ typedef enum TCGReg {
|
||||
|
||||
#define TCG_TARGET_NB_REGS 64
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#define TCG_TARGET_DEFAULT_MO (TCG_MO_ALL & ~TCG_MO_ST_LD)
|
||||
|
||||
#endif
|
||||
|
@ -66,8 +66,6 @@ typedef enum {
|
||||
|
||||
#define TCG_AREG0 TCG_REG_I0
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#define TCG_TARGET_DEFAULT_MO (0)
|
||||
|
||||
#endif
|
||||
|
@ -7,6 +7,8 @@
|
||||
#ifndef TCG_HAS_H
|
||||
#define TCG_HAS_H
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
#if TCG_TARGET_REG_BITS == 32
|
||||
/* Turn some undef macros into false macros. */
|
||||
#define TCG_TARGET_HAS_extr_i64_i32 0
|
||||
|
@ -44,8 +44,6 @@
|
||||
#define TCG_TARGET_INSN_UNIT_SIZE 4
|
||||
#define MAX_CODE_GEN_BUFFER_SIZE ((size_t)-1)
|
||||
|
||||
#include "tcg-target-has.h"
|
||||
|
||||
/* Number of registers available. */
|
||||
#define TCG_TARGET_NB_REGS 16
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user