|
@@ -905,12 +905,6 @@ static inline TCGv_i32 tcg_temp_new_i32(void)
|
|
return temp_tcgv_i32(t);
|
|
return temp_tcgv_i32(t);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline TCGv_i32 tcg_temp_local_new_i32(void)
|
|
|
|
-{
|
|
|
|
- TCGTemp *t = tcg_temp_new_internal(TCG_TYPE_I32, TEMP_TB);
|
|
|
|
- return temp_tcgv_i32(t);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static inline TCGv_i64 tcg_global_mem_new_i64(TCGv_ptr reg, intptr_t offset,
|
|
static inline TCGv_i64 tcg_global_mem_new_i64(TCGv_ptr reg, intptr_t offset,
|
|
const char *name)
|
|
const char *name)
|
|
{
|
|
{
|
|
@@ -931,12 +925,6 @@ static inline TCGv_i64 tcg_temp_new_i64(void)
|
|
return temp_tcgv_i64(t);
|
|
return temp_tcgv_i64(t);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline TCGv_i64 tcg_temp_local_new_i64(void)
|
|
|
|
-{
|
|
|
|
- TCGTemp *t = tcg_temp_new_internal(TCG_TYPE_I64, TEMP_TB);
|
|
|
|
- return temp_tcgv_i64(t);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/* Used only by tcg infrastructure: tcg-op.c or plugin-gen.c */
|
|
/* Used only by tcg infrastructure: tcg-op.c or plugin-gen.c */
|
|
static inline TCGv_i128 tcg_temp_ebb_new_i128(void)
|
|
static inline TCGv_i128 tcg_temp_ebb_new_i128(void)
|
|
{
|
|
{
|
|
@@ -950,12 +938,6 @@ static inline TCGv_i128 tcg_temp_new_i128(void)
|
|
return temp_tcgv_i128(t);
|
|
return temp_tcgv_i128(t);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline TCGv_i128 tcg_temp_local_new_i128(void)
|
|
|
|
-{
|
|
|
|
- TCGTemp *t = tcg_temp_new_internal(TCG_TYPE_I128, TEMP_TB);
|
|
|
|
- return temp_tcgv_i128(t);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static inline TCGv_ptr tcg_global_mem_new_ptr(TCGv_ptr reg, intptr_t offset,
|
|
static inline TCGv_ptr tcg_global_mem_new_ptr(TCGv_ptr reg, intptr_t offset,
|
|
const char *name)
|
|
const char *name)
|
|
{
|
|
{
|
|
@@ -976,12 +958,6 @@ static inline TCGv_ptr tcg_temp_new_ptr(void)
|
|
return temp_tcgv_ptr(t);
|
|
return temp_tcgv_ptr(t);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline TCGv_ptr tcg_temp_local_new_ptr(void)
|
|
|
|
-{
|
|
|
|
- TCGTemp *t = tcg_temp_new_internal(TCG_TYPE_PTR, TEMP_TB);
|
|
|
|
- return temp_tcgv_ptr(t);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
#if defined(CONFIG_DEBUG_TCG)
|
|
#if defined(CONFIG_DEBUG_TCG)
|
|
/* If you call tcg_clear_temp_count() at the start of a section of
|
|
/* If you call tcg_clear_temp_count() at the start of a section of
|
|
* code which is not supposed to leak any TCG temporaries, then
|
|
* code which is not supposed to leak any TCG temporaries, then
|
|
@@ -1084,8 +1060,6 @@ void tcg_optimize(TCGContext *s);
|
|
/* Allocate a new temporary and initialize it with a constant. */
|
|
/* Allocate a new temporary and initialize it with a constant. */
|
|
TCGv_i32 tcg_const_i32(int32_t val);
|
|
TCGv_i32 tcg_const_i32(int32_t val);
|
|
TCGv_i64 tcg_const_i64(int64_t val);
|
|
TCGv_i64 tcg_const_i64(int64_t val);
|
|
-TCGv_i32 tcg_const_local_i32(int32_t val);
|
|
|
|
-TCGv_i64 tcg_const_local_i64(int64_t val);
|
|
|
|
TCGv_vec tcg_const_zeros_vec(TCGType);
|
|
TCGv_vec tcg_const_zeros_vec(TCGType);
|
|
TCGv_vec tcg_const_ones_vec(TCGType);
|
|
TCGv_vec tcg_const_ones_vec(TCGType);
|
|
TCGv_vec tcg_const_zeros_vec_matching(TCGv_vec);
|
|
TCGv_vec tcg_const_zeros_vec_matching(TCGv_vec);
|
|
@@ -1113,11 +1087,9 @@ TCGv_vec tcg_constant_vec_matching(TCGv_vec match, unsigned vece, int64_t val);
|
|
|
|
|
|
#if UINTPTR_MAX == UINT32_MAX
|
|
#if UINTPTR_MAX == UINT32_MAX
|
|
# define tcg_const_ptr(x) ((TCGv_ptr)tcg_const_i32((intptr_t)(x)))
|
|
# define tcg_const_ptr(x) ((TCGv_ptr)tcg_const_i32((intptr_t)(x)))
|
|
-# define tcg_const_local_ptr(x) ((TCGv_ptr)tcg_const_local_i32((intptr_t)(x)))
|
|
|
|
# define tcg_constant_ptr(x) ((TCGv_ptr)tcg_constant_i32((intptr_t)(x)))
|
|
# define tcg_constant_ptr(x) ((TCGv_ptr)tcg_constant_i32((intptr_t)(x)))
|
|
#else
|
|
#else
|
|
# define tcg_const_ptr(x) ((TCGv_ptr)tcg_const_i64((intptr_t)(x)))
|
|
# define tcg_const_ptr(x) ((TCGv_ptr)tcg_const_i64((intptr_t)(x)))
|
|
-# define tcg_const_local_ptr(x) ((TCGv_ptr)tcg_const_local_i64((intptr_t)(x)))
|
|
|
|
# define tcg_constant_ptr(x) ((TCGv_ptr)tcg_constant_i64((intptr_t)(x)))
|
|
# define tcg_constant_ptr(x) ((TCGv_ptr)tcg_constant_i64((intptr_t)(x)))
|
|
#endif
|
|
#endif
|
|
|
|
|