[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 10/28] tcg: Add tcg_gen_movi_ptr
From: |
Richard Henderson |
Subject: |
[PATCH v2 10/28] tcg: Add tcg_gen_movi_ptr |
Date: |
Wed, 22 Feb 2023 13:26:57 -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
- [PATCH v2 00/28] tcg: Simplify temporary usage, Richard Henderson, 2023/02/22
- [PATCH v2 01/28] tcg: Adjust TCGContext.temps_in_use check, Richard Henderson, 2023/02/22
- [PATCH v2 02/28] accel/tcg: Pass max_insn to gen_intermediate_code by pointer, Richard Henderson, 2023/02/22
- [PATCH v2 03/28] accel/tcg: Use more accurate max_insns for tb_overflow, Richard Henderson, 2023/02/22
- [PATCH v2 04/28] tcg: Remove branch-to-next regardless of reference count, Richard Henderson, 2023/02/22
- [PATCH v2 05/28] tcg: Rename TEMP_LOCAL to TEMP_TB, Richard Henderson, 2023/02/22
- [PATCH v2 06/28] tcg: Add liveness_pass_0, Richard Henderson, 2023/02/22
- [PATCH v2 07/28] tcg: Remove TEMP_NORMAL, Richard Henderson, 2023/02/22
- [PATCH v2 08/28] tcg: Pass TCGTempKind to tcg_temp_new_internal, Richard Henderson, 2023/02/22
- [PATCH v2 09/28] tcg: Add tcg_temp_ebb_new_{i32,i64,ptr}, Richard Henderson, 2023/02/22
- [PATCH v2 10/28] tcg: Add tcg_gen_movi_ptr,
Richard Henderson <=
- [PATCH v2 12/28] accel/tcg/plugin: Use tcg_temp_ebb_*, Richard Henderson, 2023/02/22
- [PATCH v2 13/28] accel/tcg/plugin: Tidy plugin_gen_disable_mem_helpers, Richard Henderson, 2023/02/22
- [PATCH v2 11/28] tcg: Use tcg_temp_ebb_new_* in tcg/, Richard Henderson, 2023/02/22
- [PATCH v2 14/28] tcg: Don't re-use TEMP_TB temporaries, Richard Henderson, 2023/02/22
- [PATCH v2 15/28] tcg: Change default temp lifetime to TEMP_TB, Richard Henderson, 2023/02/22
- [PATCH v2 16/28] target/arm: Drop copies in gen_sve_{ldr,str}, Richard Henderson, 2023/02/22
- [PATCH v2 17/28] target/arm: Don't use tcg_temp_local_new_*, Richard Henderson, 2023/02/22
- [PATCH v2 18/28] target/cris: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/22
- [PATCH v2 21/28] target/i386: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/22