All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Chou <max.chou@sifive.com>
To: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>
Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org,
	"Palmer Dabbelt" <palmer@dabbelt.com>,
	"Alistair Francis" <Alistair.Francis@wdc.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Weiwei Li" <liwei1518@gmail.com>,
	"Liu Zhiwei" <zhiwei_liu@linux.alibaba.com>,
	"Chao Liu" <chao.liu@processmission.com>
Subject: Re: [RFC PATCH 13/38] target/riscv: rvv: Implement Zvfwdota16bf instruction
Date: Tue, 10 Nov 2026 21:59:56 +0900	[thread overview]
Message-ID: <avMUr0mgv2Z4I2u7@sifive.com> (raw)
In-Reply-To: <ac3eb49a-72bd-47de-8386-0c6cc2aa8382@oss.qualcomm.com>

On 2026-11-09 17:15, Daniel Henrique Barboza wrote:
> On 11/4/2026 4:41 PM, Max Chou wrote:
> > ---
> > +    bfloat16 *a_vec, *b_vec;
> 
> Although we don't have any existing instances of it in the code, it is perfectly
> fine to do:
> 
> +    g_autofree bfloat16 *a_vec = NULL;
> +    g_autofree bfloat16 *b_vec = NULL;
> 
> 
> Sparing us from calling g_free() on both arrays later.
> 
> 
> LGTM otherwise.  Thanks,
> Daniel
> 

Hi Daniel,

Thanks for the suggestion. Will provide v2 for this.

rnax


  reply	other threads:[~2026-11-10 13:00 UTC|newest]

Thread overview: 117+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-04 19:41 [RFC PATCH 00/38] target/riscv: Add Zvdota/Zvbdota families of dot-product extensions Max Chou
2026-11-04 19:41 ` [RFC PATCH 01/38] fpu/softfloat: Support OCP(Open Compute Project) OFP8 checking functions Max Chou
2026-11-09 19:53   ` Daniel Henrique Barboza
2026-11-10 14:04   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 02/38] target/riscv: Introduce riscv_init_fp_status Max Chou
2026-11-09 19:53   ` Daniel Henrique Barboza
2026-11-10 14:07   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 03/38] target/riscv: rvv: Introduce RVBNA algorithm for Zvdota/Zvbdota extensions Max Chou
2026-11-09 19:56   ` Daniel Henrique Barboza
2026-11-10 14:56   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 04/38] target/riscv: Add cfg property for Zvqwdota8i extension Max Chou
2026-11-09 19:56   ` Daniel Henrique Barboza
2026-11-10 14:57   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 05/38] target/riscv: Add implied rules " Max Chou
2026-11-09 19:57   ` Daniel Henrique Barboza
2026-11-10 15:03   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 06/38] target/riscv: rvv: Implement Zvqwdota8i instructions Max Chou
2026-11-09 19:57   ` Daniel Henrique Barboza
2026-11-10 15:05   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 07/38] disas/riscv: Support Zvqwdota8i extension Max Chou
2026-11-09 19:58   ` Daniel Henrique Barboza
2026-11-10 15:07   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 08/38] target/riscv: Add Zvqwdota16i cpu property Max Chou
2026-11-09 19:58   ` Daniel Henrique Barboza
2026-11-10 15:09   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 09/38] target/riscv: Add Zvqwdota16i dependency imply rule Max Chou
2026-11-09 19:59   ` Daniel Henrique Barboza
2026-11-10 15:15   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 10/38] target/riscv: rvv: Implement Zvqwdota16i instructions Max Chou
2026-11-09 20:03   ` Daniel Henrique Barboza
2026-11-11  4:48   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 11/38] target/riscv: Add cfg property for Zvfwdota16bf extension Max Chou
2026-11-09 20:03   ` Daniel Henrique Barboza
2026-11-11  4:51   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 12/38] target/riscv: Add implied rules " Max Chou
2026-11-09 20:04   ` Daniel Henrique Barboza
2026-11-11  4:55   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 13/38] target/riscv: rvv: Implement Zvfwdota16bf instruction Max Chou
2026-11-09 20:15   ` Daniel Henrique Barboza
2026-11-10 12:59     ` Max Chou [this message]
2026-11-11  5:29   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 14/38] disas/riscv: Support Zvfwdota16bf extension Max Chou
2026-11-09 20:15   ` Daniel Henrique Barboza
2026-11-11  5:33   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 15/38] target/riscv: Add cfg property for Zvfqwdota8f extension Max Chou
2026-11-09 20:15   ` Daniel Henrique Barboza
2026-11-11  5:37   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 16/38] target/riscv: Add implied rules " Max Chou
2026-11-09 20:16   ` Daniel Henrique Barboza
2026-11-11  5:52   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 17/38] target/riscv: rvv: Implement Zvfqwdota8f instructions Max Chou
2026-11-09 20:20   ` Daniel Henrique Barboza
2026-11-11  6:51   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 18/38] disas/riscv: Support Zvfqwdota8f extension Max Chou
2026-11-09 20:20   ` Daniel Henrique Barboza
2026-11-11  6:52   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 19/38] target/riscv: Add cfg property for Zvqwbdota8i extension Max Chou
2026-11-09 20:20   ` Daniel Henrique Barboza
2026-11-11  6:55   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 20/38] target/riscv: Add implied rules " Max Chou
2026-11-09 20:20   ` Daniel Henrique Barboza
2026-11-11  6:57   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 21/38] target/riscv: rvv: Implement Zvqwbdota8i instructions Max Chou
2026-11-09 20:32   ` Daniel Henrique Barboza
2026-11-11  7:00   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 22/38] disas/riscv: Support Zvqwbdota8i extension Max Chou
2026-11-09 20:32   ` Daniel Henrique Barboza
2026-11-11  7:05   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 23/38] target/riscv: Add cfg property for Zvqwbdota16i extension Max Chou
2026-11-09 20:33   ` Daniel Henrique Barboza
2026-11-11  7:06   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 24/38] target/riscv: Add implied rules " Max Chou
2026-11-09 20:33   ` Daniel Henrique Barboza
2026-11-11  7:10   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 25/38] target/riscv: rvv: Implement Zvqwbdota16i instructions Max Chou
2026-11-09 20:38   ` Daniel Henrique Barboza
2026-11-11  8:03   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 26/38] target/riscv: Add cfg property for Zvfwbdota16bf extension Max Chou
2026-11-09 20:39   ` Daniel Henrique Barboza
2026-11-11  8:07   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 27/38] target/riscv: Add implied rules " Max Chou
2026-11-09 20:39   ` Daniel Henrique Barboza
2026-11-11  8:15   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 28/38] target/riscv: rvv: Implement Zvfwbdota16bf instruction Max Chou
2026-11-09 20:40   ` Daniel Henrique Barboza
2026-11-11  8:19   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 29/38] disas/riscv: Support Zvfwbdota16bf extension Max Chou
2026-11-09 20:41   ` Daniel Henrique Barboza
2026-11-11  8:20   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 30/38] target/riscv: Add cfg property for Zvfqwbdota8f extension Max Chou
2026-11-09 20:41   ` Daniel Henrique Barboza
2026-11-11  8:21   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 31/38] target/riscv: Add implied rules " Max Chou
2026-11-09 20:41   ` Daniel Henrique Barboza
2026-11-11  8:22   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 32/38] target/riscv: rvv: Implement Zvfqwbdota8f instructions Max Chou
2026-11-09 20:41   ` Daniel Henrique Barboza
2026-11-11  8:24   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 33/38] disas/riscv: Support Zvfqwbdota8f extension Max Chou
2026-11-09 20:42   ` Daniel Henrique Barboza
2026-11-11  8:35   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 34/38] target/riscv: Add cfg property for Zvfbdota32f extension Max Chou
2026-11-09 20:42   ` Daniel Henrique Barboza
2026-11-11  8:36   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 35/38] target/riscv: Add implied rules " Max Chou
2026-11-09 20:42   ` Daniel Henrique Barboza
2026-11-11  8:36   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 36/38] target/riscv: rvv: Implement Zvfbdota32f instructions Max Chou
2026-11-09 20:43   ` Daniel Henrique Barboza
2026-11-11  9:17   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 37/38] disas/riscv: Support Zvfbdota32f extension Max Chou
2026-11-09 20:43   ` Daniel Henrique Barboza
2026-11-11  9:53   ` Chao Liu
2026-11-04 19:41 ` [RFC PATCH 38/38] tests/tcg/riscv64: Add test for Zvdota/Zvbdota extensions Max Chou
2026-11-09 20:47   ` Daniel Henrique Barboza
2026-11-11  9:54   ` Chao Liu
2026-11-10 14:12 ` [RFC PATCH 00/38] target/riscv: Add Zvdota/Zvbdota families of dot-product extensions Chao Liu

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=avMUr0mgv2Z4I2u7@sifive.com \
    --to=max.chou@sifive.com \
    --cc=Alistair.Francis@wdc.com \
    --cc=alex.bennee@linaro.org \
    --cc=aurelien@aurel32.net \
    --cc=chao.liu@processmission.com \
    --cc=daniel.barboza@oss.qualcomm.com \
    --cc=liwei1518@gmail.com \
    --cc=palmer@dabbelt.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=zhiwei_liu@linux.alibaba.com \
    /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.