mirror of
https://github.com/qemu/qemu.git
synced 2024-12-17 17:23:52 +08:00
tcg: Add tcg_gen_movi_ptr
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
d5c3c6f6f1
commit
94586f7318
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user