mirror of https://github.com/xemu-project/xemu.git
tcg: add tcg_gen_st_ptr
Will gain a user soon. Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
4b2190dabd
commit
c87fb14fde
|
@ -1249,6 +1249,11 @@ static inline void tcg_gen_ld_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o)
|
||||||
glue(tcg_gen_ld_,PTR)((NAT)r, a, o);
|
glue(tcg_gen_ld_,PTR)((NAT)r, a, o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline void tcg_gen_st_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o)
|
||||||
|
{
|
||||||
|
glue(tcg_gen_st_, PTR)((NAT)r, a, o);
|
||||||
|
}
|
||||||
|
|
||||||
static inline void tcg_gen_discard_ptr(TCGv_ptr a)
|
static inline void tcg_gen_discard_ptr(TCGv_ptr a)
|
||||||
{
|
{
|
||||||
glue(tcg_gen_discard_,PTR)((NAT)a);
|
glue(tcg_gen_discard_,PTR)((NAT)a);
|
||||||
|
|
Loading…
Reference in New Issue