projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c3c6f
)
tcg: Add tcg_gen_movi_ptr
author
Richard Henderson
<richard.henderson@linaro.org>
Sun, 29 Jan 2023 23:15:45 +0000
(13:15 -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>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg-op.h
patch
|
blob
|
history
diff --git
a/include/tcg/tcg-op.h
b/include/tcg/tcg-op.h
index 839d91c0c70c3fd19c1dbf74675cbcecc3cf6049..66b1461caa5537bec33233d37b86476ab0261f5d 100644
(file)
--- 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)
{