All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org,  Paolo Bonzini <pbonzini@redhat.com>,
	 Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>,
	 Richard Henderson <richard.henderson@linaro.org>
Subject: Re: [PATCH 2/3] docs/devel/tcg-ops: List more vector opcodes
Date: Thu, 28 May 2026 11:16:34 +0100	[thread overview]
Message-ID: <87ik87x2il.fsf@draig.linaro.org> (raw)
In-Reply-To: <20260504125032.35465-3-philmd@linaro.org> ("Philippe Mathieu-Daudé"'s message of "Mon, 4 May 2026 14:50:30 +0200")

Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> Few logical and arithmetic vector opcodes are missing, list them.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>  docs/devel/tcg-ops.rst | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst
> index c417ebe65a8..56c0b0bd3de 100644
> --- a/docs/devel/tcg-ops.rst
> +++ b/docs/devel/tcg-ops.rst
> @@ -816,10 +816,16 @@ specifies the length of the element (if applicable) in log2 8-bit units.
>  
>     * - and_vec *v0*, *v1*, *v2*
>  
> +       nand_vec *v0*, *v1*, *v2*
> +
>         or_vec *v0*, *v1*, *v2*
>  
> +       nor_vec *v0*, *v1*, *v2*
> +
>         xor_vec *v0*, *v1*, *v2*
>  
> +       eqv_vec *v0*, *v1*, *v2*
> +
>         andc_vec *v0*, *v1*, *v2*
>  
>         orc_vec *v0*, *v1*, *v2*
> @@ -852,6 +858,8 @@ specifies the length of the element (if applicable) in log2 8-bit units.
>  
>         sars_vec *v0*, *v1*, *s2*
>  
> +       rotls_vec *v0*, *v1*, *s2*
> +
>       - | Similarly for logical and arithmetic right shift, and left rotate.
>  
>     * - shlv_vec *v0*, *v1*, *v2*

Longer term it would be nice to just auto-generate these from tcg-op.h
and tcg-op-common.h but I guess we would need to see if kdoc can handle
grouping of sets of ops rather than having to exhaustively enumerate
every bitop with comments. 

Anyway:

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

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


  parent reply	other threads:[~2026-05-28 10:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-04 12:50 [PATCH 0/3] docs/devel/tcg-ops: Minor documentation updates Philippe Mathieu-Daudé
2026-05-04 12:50 ` [PATCH 1/3] docs/devel/tcg-ops: Stop listing dup2_vec() Philippe Mathieu-Daudé
2026-05-04 16:57   ` Pierrick Bouvier
2026-05-04 12:50 ` [PATCH 2/3] docs/devel/tcg-ops: List more vector opcodes Philippe Mathieu-Daudé
2026-05-04 16:57   ` Pierrick Bouvier
2026-05-28 10:16   ` Alex Bennée [this message]
2026-05-04 12:50 ` [PATCH 3/3] docs/devel/tcg-ops: Slightly expand on discard() opcode Philippe Mathieu-Daudé
2026-05-04 16:59   ` Pierrick Bouvier
2026-05-04 17:24 ` [PATCH 0/3] docs/devel/tcg-ops: Minor documentation updates Pierrick Bouvier
2026-05-28  7:57   ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ik87x2il.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.