mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-24 10:32:02 -06:00
tcg/sparc64: Unexport use_vis3_instructions
This variable is no longer used outside tcg-target.c.inc. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
eafecf0805
commit
33b6c61cce
2 changed files with 4 additions and 8 deletions
|
@ -7,12 +7,6 @@
|
||||||
#ifndef TCG_TARGET_HAS_H
|
#ifndef TCG_TARGET_HAS_H
|
||||||
#define TCG_TARGET_HAS_H
|
#define TCG_TARGET_HAS_H
|
||||||
|
|
||||||
#if defined(__VIS__) && __VIS__ >= 0x300
|
|
||||||
#define use_vis3_instructions 1
|
|
||||||
#else
|
|
||||||
extern bool use_vis3_instructions;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* optional instructions */
|
/* optional instructions */
|
||||||
#define TCG_TARGET_HAS_extr_i64_i32 0
|
#define TCG_TARGET_HAS_extr_i64_i32 0
|
||||||
#define TCG_TARGET_HAS_qemu_ldst_i128 0
|
#define TCG_TARGET_HAS_qemu_ldst_i128 0
|
||||||
|
|
|
@ -274,8 +274,10 @@ static TCGReg tcg_target_call_oarg_reg(TCGCallReturnKind kind, int slot)
|
||||||
#define STW_LE (STWA | INSN_ASI(ASI_PRIMARY_LITTLE))
|
#define STW_LE (STWA | INSN_ASI(ASI_PRIMARY_LITTLE))
|
||||||
#define STX_LE (STXA | INSN_ASI(ASI_PRIMARY_LITTLE))
|
#define STX_LE (STXA | INSN_ASI(ASI_PRIMARY_LITTLE))
|
||||||
|
|
||||||
#ifndef use_vis3_instructions
|
#if defined(__VIS__) && __VIS__ >= 0x300
|
||||||
bool use_vis3_instructions;
|
#define use_vis3_instructions 1
|
||||||
|
#else
|
||||||
|
static bool use_vis3_instructions;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static bool check_fit_i64(int64_t val, unsigned int bits)
|
static bool check_fit_i64(int64_t val, unsigned int bits)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue