projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dd4860
)
tcg: Use tcg_constant_ptr in do_dup
author
Richard Henderson
<richard.henderson@linaro.org>
Sat, 25 Feb 2023 01:35:45 +0000
(15:35 -1000)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:28 +0000
(07:33 -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
patch
|
blob
|
history
diff --git
a/tcg/tcg-op-gvec.c
b/tcg/tcg-op-gvec.c
index a42e13a7735b68d7e05f5abf783e5b4ffa8127bc..291a65c4bfe744ab002cb42961cba9cb802ccfa5 100644
(file)
--- 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_const
ant
_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;
}