diff mbox series

[RFC,v2,11/38] tcg: add tcg_gen_st_ptr

Message ID 20181209193749.12277-12-cota@braap.org (mailing list archive)
State New, archived
Headers show
Series Plugin support | expand

Commit Message

Emilio Cota Dec. 9, 2018, 7:37 p.m. UTC
Will gain a user soon.

Signed-off-by: Emilio G. Cota <cota@braap.org>
---
 tcg/tcg-op.h | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Alex Bennée May 20, 2019, 1:36 p.m. UTC | #1
Emilio G. Cota <cota@braap.org> writes:

> Will gain a user soon.
>
> Signed-off-by: Emilio G. Cota <cota@braap.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

> ---
>  tcg/tcg-op.h | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h
> index e2948b10a2..d3c79a6cb2 100644
> --- a/tcg/tcg-op.h
> +++ b/tcg/tcg-op.h
> @@ -1219,6 +1219,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);
>  }
>
> +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)
>  {
>      glue(tcg_gen_discard_,PTR)((NAT)a);


--
Alex Bennée
diff mbox series

Patch

diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h
index e2948b10a2..d3c79a6cb2 100644
--- a/tcg/tcg-op.h
+++ b/tcg/tcg-op.h
@@ -1219,6 +1219,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);
 }
 
+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)
 {
     glue(tcg_gen_discard_,PTR)((NAT)a);