[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 42/62] tcg: Add tcg_gen_movi_ptr
From: |
Richard Henderson |
Subject: |
[PULL 42/62] tcg: Add tcg_gen_movi_ptr |
Date: |
Tue, 28 Feb 2023 16:56:23 -1000 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/tcg/tcg-op.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h
index 839d91c0c7..66b1461caa 100644
--- a/include/tcg/tcg-op.h
+++ b/include/tcg/tcg-op.h
@@ -1285,6 +1285,11 @@ static inline void tcg_gen_mov_ptr(TCGv_ptr d, TCGv_ptr
s)
glue(tcg_gen_mov_,PTR)((NAT)d, (NAT)s);
}
+static inline void tcg_gen_movi_ptr(TCGv_ptr d, intptr_t s)
+{
+ glue(tcg_gen_movi_,PTR)((NAT)d, s);
+}
+
static inline void tcg_gen_brcondi_ptr(TCGCond cond, TCGv_ptr a,
intptr_t b, TCGLabel *label)
{
--
2.34.1
- [PULL 55/62] target/hppa: Don't use tcg_temp_local_new, (continued)
- [PULL 55/62] target/hppa: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/28
- [PULL 43/62] tcg: Add tcg_temp_ebb_new_{i32,i64,ptr}, Richard Henderson, 2023/02/28
- [PULL 44/62] tcg: Use tcg_temp_ebb_new_* in tcg/, Richard Henderson, 2023/02/28
- [PULL 60/62] exec/gen-icount: Don't use tcg_temp_local_new_i32, Richard Henderson, 2023/02/28
- [PULL 56/62] target/i386: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/28
- [PULL 50/62] target/arm: Drop copies in gen_sve_{ldr,str}, Richard Henderson, 2023/02/28
- [PULL 48/62] tcg: Don't re-use TEMP_TB temporaries, Richard Henderson, 2023/02/28
- [PULL 40/62] tcg: Pass TCGTempKind to tcg_temp_new_internal, Richard Henderson, 2023/02/28
- [PULL 49/62] tcg: Change default temp lifetime to TEMP_TB, Richard Henderson, 2023/02/28
- [PULL 59/62] target/xtensa: Don't use tcg_temp_local_new_*, Richard Henderson, 2023/02/28
- [PULL 42/62] tcg: Add tcg_gen_movi_ptr,
Richard Henderson <=
- [PULL 45/62] tcg: Use tcg_constant_ptr in do_dup, Richard Henderson, 2023/02/28
- [PULL 53/62] target/hexagon: Don't use tcg_temp_local_new_*, Richard Henderson, 2023/02/28
- [PULL 57/62] target/mips: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/28
- [PULL 54/62] target/hexagon/idef-parser: Drop gen_tmp_local, Richard Henderson, 2023/02/28
- [PULL 61/62] tcg: Remove tcg_temp_local_new_*, tcg_const_local_*, Richard Henderson, 2023/02/28
- [PULL 41/62] tcg: Use tcg_constant_i32 in tcg_gen_io_start, Richard Henderson, 2023/02/28
- [PULL 51/62] target/arm: Don't use tcg_temp_local_new_*, Richard Henderson, 2023/02/28
- [PULL 52/62] target/cris: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/28
- [PULL 62/62] tcg: Update docs/devel/tcg-ops.rst for temporary changes, Richard Henderson, 2023/02/28