[PATCH 6/7] tcg/tcg-op: Document deposit_z()

Philippe Mathieu-Daudé posted 7 patches 2 years, 5 months ago
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
There is a newer version of this series
[PATCH 6/7] tcg/tcg-op: Document deposit_z()
Posted by Philippe Mathieu-Daudé 2 years, 5 months ago
Document deposit_z_i32() and deposit_z_i64(), added in
commit 07cc68d528 ("tcg: Add deposit_z expander").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 docs/devel/tcg-ops.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst
index 306025ece7..7ea6aba502 100644
--- a/docs/devel/tcg-ops.rst
+++ b/docs/devel/tcg-ops.rst
@@ -449,6 +449,10 @@ Misc
        |
        |     *dest* = (*t1* & ~0x0f00) | ((*t2* << 8) & 0x0f00)
 
+   * - deposit_z_i32/i64 *dest*, *t1*, *pos*, *len*
+
+     - | Similar to deposit, except that a zero value is deposited.
+
    * - extract_i32/i64 *dest*, *t1*, *pos*, *len*
 
        sextract_i32/i64 *dest*, *t1*, *pos*, *len*
-- 
2.41.0


Re: [PATCH 6/7] tcg/tcg-op: Document deposit_z()
Posted by Richard Henderson 2 years, 5 months ago
On 8/22/23 02:37, Philippe Mathieu-Daudé wrote:
> Document deposit_z_i32() and deposit_z_i64(), added in
> commit 07cc68d528 ("tcg: Add deposit_z expander").
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   docs/devel/tcg-ops.rst | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst
> index 306025ece7..7ea6aba502 100644
> --- a/docs/devel/tcg-ops.rst
> +++ b/docs/devel/tcg-ops.rst
> @@ -449,6 +449,10 @@ Misc
>          |
>          |     *dest* = (*t1* & ~0x0f00) | ((*t2* << 8) & 0x0f00)
>   
> +   * - deposit_z_i32/i64 *dest*, *t1*, *pos*, *len*
> +
> +     - | Similar to deposit, except that a zero value is deposited.

Nack -- deposit_z is not a tcg opcode.


r~