diff mbox series

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

Message ID 20230822093712.38922-7-philmd@linaro.org
State New
Headers show
Series tcg: Document *swap/deposit helpers | expand

Commit Message

Philippe Mathieu-Daudé Aug. 22, 2023, 9:37 a.m. UTC
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(+)

Comments

Richard Henderson Aug. 22, 2023, 4:05 p.m. UTC | #1
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~
diff mbox series

Patch

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*