[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 45/62] tcg: Use tcg_constant_ptr in do_dup
From: |
Richard Henderson |
Subject: |
[PULL 45/62] tcg: Use tcg_constant_ptr in do_dup |
Date: |
Tue, 28 Feb 2023 16:56:26 -1000 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/tcg-op-gvec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tcg/tcg-op-gvec.c b/tcg/tcg-op-gvec.c
index a42e13a773..291a65c4bf 100644
--- a/tcg/tcg-op-gvec.c
+++ b/tcg/tcg-op-gvec.c
@@ -629,7 +629,7 @@ static void do_dup(unsigned vece, uint32_t dofs, uint32_t
oprsz,
* stores through to memset.
*/
if (oprsz == maxsz && vece == MO_8) {
- TCGv_ptr t_size = tcg_const_ptr(oprsz);
+ TCGv_ptr t_size = tcg_constant_ptr(oprsz);
TCGv_i32 t_val;
if (in_32) {
@@ -645,7 +645,6 @@ static void do_dup(unsigned vece, uint32_t dofs, uint32_t
oprsz,
if (in_64) {
tcg_temp_free_i32(t_val);
}
- tcg_temp_free_ptr(t_size);
tcg_temp_free_ptr(t_ptr);
return;
}
--
2.34.1
- [PULL 43/62] tcg: Add tcg_temp_ebb_new_{i32,i64,ptr}, (continued)
- [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, 2023/02/28
- [PULL 45/62] tcg: Use tcg_constant_ptr in do_dup,
Richard Henderson <=
- [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