All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Sun Yuechi <sunyuechi@iscas.ac.cn>, uk7b@foxmail.com
Cc: dev@dpdk.org, Stanislaw Kardach <stanislaw.kardach@gmail.com>,
	Bruce Richardson <bruce.richardson@intel.com>
Subject: Re: [PATCH v3 1/4] config/riscv: detect V extension
Date: Fri, 19 Sep 2025 20:16:22 +0200	[thread overview]
Message-ID: <3159839.72vocr9iq0@thomas> (raw)
In-Reply-To: <tencent_FDE91C0DD66F18084FBD6A8F45C3D05AB106@qq.com>

19/09/2025 18:33, uk7b@foxmail.com:
> From: Sun Yuechi <sunyuechi@iscas.ac.cn>
> 
> This patch is derived from "config/riscv: detect presence of Zbc
> extension with modifications".
> 
> The RISC-V C api defines architecture extension test macros
> These let us detect whether the V extension is supported on the
> compiler and -march we're building with. The C api also defines V
> intrinsics we can use rather than inline assembly on newer versions of
> GCC (14.1.0+) and Clang (18.1.0+).
> 
> If the V extension and intrinsics are both present and we can detect
> the V extension at runtime, we define a flag, RTE_RISCV_FEATURE_V.
> 
> Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>

Series merged with style improvements, thanks.

Please could you add a cross file in config/riscv/ for rv64gcv
and use it in devtools/test-meson-builds.sh so we can test compiling
with the vector extension?

Another question about RISC-V maintenance in general,
what do you think about other pending patches for RISC-V?



  reply	other threads:[~2025-09-19 18:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250919163358.2887335-1-uk7b@foxmail.com>
2025-09-19 16:33 ` [PATCH v3 1/4] config/riscv: detect V extension uk7b
2025-09-19 18:16   ` Thomas Monjalon [this message]
2025-09-19 18:52     ` 孙越池
2025-09-19 19:08       ` Thomas Monjalon
2025-09-19 16:33 ` [PATCH v3 2/4] lib/lpm: R-V V rte_lpm_lookupx4 uk7b
2025-09-19 16:33 ` [PATCH v3 3/4] lib/fib: R-V V rte_fib_lookup_bulk uk7b
2025-09-19 17:48   ` Thomas Monjalon
2025-09-19 17:59     ` 孙越池
2025-09-19 16:33 ` [PATCH v3 4/4] riscv: override machine_args only when default uk7b

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=3159839.72vocr9iq0@thomas \
    --to=thomas@monjalon.net \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=stanislaw.kardach@gmail.com \
    --cc=sunyuechi@iscas.ac.cn \
    --cc=uk7b@foxmail.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.