From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8D29946877; Wed, 4 Jun 2025 21:55:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 225984026C; Wed, 4 Jun 2025 21:55:11 +0200 (CEST) Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by mails.dpdk.org (Postfix) with ESMTP id ED1D24025D for ; Wed, 4 Jun 2025 21:55:09 +0200 (CEST) Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-6fadd3ad18eso3440246d6.2 for ; Wed, 04 Jun 2025 12:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1749066909; x=1749671709; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=1pSGupSrpvYXmQ6PzhGxR84Y9HJZAyrPU4pAzF0phcw=; b=tVOulT7ARgLhz5FELjyqdsdsvlt8SvSmSXHi3wnaaK9l+/N/S0kdrtPX6dDyyeW9jP VGT2ENe0sycZkLzvMlOkKvQQqfv43AdjQ8jrx/aBu4oApr5xoRe8u8nb15l3YBwoLFyr DApwjENknaxzZgpStR/fneKnjlU5+mMYmruAkmtoJmAqwRPGUszu/crNebOYrGDqeli3 RheODsraIyu7MFbosi9ovEOONUrDgmH21Nz+7kK2r1xAeVfEpQoYi0G4GFY1Jit5WgjN zTArVhg60lfxa7dT1D8a4VnPv63FEFDR0sBwO4KJh+sKaGDtJo5f2KbCLibDy87mmUYw NL3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749066909; x=1749671709; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date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X-Received: by 2002:ad4:5ce2:0:b0:6fa:bb44:fddf with SMTP id 6a1803df08f44-6faf6e87e98mr62041376d6.16.1749066909186; Wed, 04 Jun 2025 12:55:09 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6fafbfb2834sm9690316d6.109.2025.06.04.12.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jun 2025 12:55:09 -0700 (PDT) Date: Wed, 4 Jun 2025 12:54:59 -0700 From: Stephen Hemminger To: uk7b@foxmail.com Cc: dev@dpdk.org, sunyuechi , Stanislaw Kardach , Bruce Richardson Subject: Re: [PATCH v2 1/3] config/riscv: detect V extension Message-ID: <20250604125459.6291fde2@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 4 Jun 2025 19:49:16 +0800 uk7b@foxmail.com wrote: > From: sunyuechi > > 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 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".