[PATCH v2 1/3] config/riscv: detect V extension

Stephen Hemminger stephen at networkplumber.org
Wed Jun 4 21:54:59 CEST 2025


On Wed,  4 Jun 2025 19:49:16 +0800
uk7b at foxmail.com wrote:

> From: sunyuechi <sunyuechi at 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: sunyuechi <sunyuechi at iscas.ac.cn>


Need entry in .mailmap as first patch, we keep track of contributions.

Since Signed-off-by has legal meaning you need to use full legal name.
By giving Signed-off-by you are saying that "yes, I have full legal right
to open source this".



More information about the dev mailing list