[{"id":3675571,"web_url":"http://patchwork.ozlabs.org/comment/3675571/","msgid":"<e0b76b84-9cd1-45e7-906e-87c5c518cabc@oss.qualcomm.com>","list_archive_url":null,"date":"2026-04-10T00:26:25","subject":"Re: [PATCH] RISC-V: Update RVV intrinsic version to ratified v1.0","submitter":{"id":92310,"url":"http://patchwork.ozlabs.org/api/people/92310/","name":"Jeffrey Law","email":"jeffrey.law@oss.qualcomm.com"},"content":"On 4/9/2026 1:41 PM, Christoph Müllner wrote:\n> The RVV intrinsic implementation already matches the ratified v1.0\n> interface, but GCC still advertises __riscv_v_intrinsic as v0.12 and\n> the manual still points users at the stale v0.11.x documentation.\n>\n> Update __riscv_v_intrinsic to v1.0, adjust the related tests, and\n> update the manual to say that GCC supports the ratified v1.0 RVV\n> intrinsic specification and point at the v1.0-ratified release.\n>\n> gcc/ChangeLog:\n>\n> \t* config/riscv/riscv-c.cc (riscv_cpu_cpp_builtins): Set\n> \t__riscv_v_intrinsic to v1.0.\n> \t* doc/extend.texi (RISC-V Vector Intrinsics): Document the\n> \tratified v1.0 RVV intrinsic specification and update the link.\n> \t* testsuite/gcc.target/riscv/predef-__riscv_v_intrinsic.c:\n> \tUpdate expected __riscv_v_intrinsic value.\n> \t* testsuite/gcc.target/riscv/rvv/base/pr114017-1.c: Update\n> \tversion check and expected warning text to v1.0.\nOK\njeff","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=IdtnP8mX;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=gwgOcURu;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=IdtnP8mX;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=gwgOcURu","sourceware.org; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com","sourceware.org;\n spf=pass smtp.mailfrom=oss.qualcomm.com","server2.sourceware.org;\n arc=none smtp.remote-ip=205.220.180.131"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fsHgB3y92z1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 10:27:01 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id B7AC04BA2E15\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 00:26:58 +0000 (GMT)","from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\n by sourceware.org (Postfix) with ESMTPS id E72474BA2E0F\n for <gcc-patches@gcc.gnu.org>; Fri, 10 Apr 2026 00:26:29 +0000 (GMT)","from pps.filterd (m0279871.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 639HkP1f2698298\n for <gcc-patches@gcc.gnu.org>; Fri, 10 Apr 2026 00:26:29 GMT","from mail-dy1-f198.google.com (mail-dy1-f198.google.com\n [74.125.82.198])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4degt9s0tu-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <gcc-patches@gcc.gnu.org>; Fri, 10 Apr 2026 00:26:29 +0000 (GMT)","by mail-dy1-f198.google.com with SMTP id\n 5a478bee46e88-2d3a617ad90so4272272eec.0\n for <gcc-patches@gcc.gnu.org>; Thu, 09 Apr 2026 17:26:28 -0700 (PDT)","from [172.31.0.25] ([136.38.201.137])\n by smtp.gmail.com with ESMTPSA id\n 5a478bee46e88-2d561cd3138sm1935041eec.14.2026.04.09.17.26.26\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Thu, 09 Apr 2026 17:26:27 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org B7AC04BA2E15","OpenDKIM Filter v2.11.0 sourceware.org E72474BA2E0F"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org E72474BA2E0F","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org E72474BA2E0F","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775780790; cv=none;\n b=TcciE0iH240bj2vvNvg349+PLZTpYFUzovrUdbKDKkSr5tFiY4Ct/W8jHhQQ1BZa2fk4F/pTtftIada0Qp8/gzmo9W5NgBy/NCsWeGzWbIAyPYRi14hw7TZvUDEAl0C/IkPKTuZKDxwdx1e8AI9+Tdi2LEZ/M5qq/gdQb/6MuIs=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775780790; c=relaxed/simple;\n bh=c7UfdL3k3d598zm2XkPKDsWpdf4r5A8Df8B2sR7pr0k=;\n h=DKIM-Signature:DKIM-Signature:Message-ID:Date:MIME-Version:\n Subject:To:From;\n b=MHb5j00N1wXWvd0MsnZESSitd8rrFnofjvIqbVYgsb8LGmDLNTtSyE5Nq/00NAXERiKkAvZ1TOqECwrixseVuOZobhDL6xoK4G7fcGg5ak5UPOKkXRf3mpxS4BnnF5BOjtTH8JwyYBPm6hR82silB2eJuLOtoTv+8XfKcGyhKOw=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n 8/HIHExEj9h6jcaMzTXKoPvvyu5ELeiFm4O7sX1Jl+o=; b=IdtnP8mX5WP/4M4b\n aYmvt3zPZLwSQx9rb1bIujKlK2Rlfxq56WJzpRLOdOWBb30yPR9p/nhq5s8eoyzw\n fO13PNbgQ8AW6Fjy7dDCdWHnEJ/gAna+rU3PNAVFxmZfMuR0ltZwSZztr+eDyYoa\n aNZxP/UjEztuDWb0nKQkb53FItGCuxtV6cr6vSnefJ9Dc9kWIBmatldlaW2K1cvl\n MvMrxPf7imNJoG3Nj8zoVEBPCZsp14WCwNJp/fHgPEbIAlQjf86rl799cXpH8q3U\n dTEHF/r8rlB41b/7dKM4BPlLhqWOaCGpvsTYHSgxAJCiiur3RostH/CC2FoDfJAQ\n xGeyVw==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1775780788; x=1776385588; darn=gcc.gnu.org;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:to:subject:user-agent:mime-version:date:message-id:from\n :to:cc:subject:date:message-id:reply-to;\n bh=8/HIHExEj9h6jcaMzTXKoPvvyu5ELeiFm4O7sX1Jl+o=;\n b=gwgOcURubvlg8daYZosg9Nf0sxfAVTYBRfb/gGMiOZSu4bFMQgQlbQvVTexyF+xM6Z\n 4W3gaUaPyZ8mtt8ebNt+5p/EHyy+yVAIp//z3gUNPXiZdaSpqmkfJZhTnvtV+lhJZ7H0\n 3n/o6rqjjVupUoHV+dXQ8WUfQtLH6madNoJjlUWOsSbCEiViXp3wygGDaP+v2XIJ74Ak\n 3zCyLmBd9XTflMjWYe12Mo/8R7JTLKR6DtpO9VYbSLDFQd5Fparf8DI8zEtZzB4wRmOj\n OdmgRh06mIXickm0sRcfMgom1MTXw/vd0vUK8CQbjGNR9nlH1GIa+LkIB0ppD9i/ZDrt\n 177Q=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775780788; x=1776385588;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:to:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=8/HIHExEj9h6jcaMzTXKoPvvyu5ELeiFm4O7sX1Jl+o=;\n b=jqV6aCHhLMlDAQeArLoo2i+eUScVI5iv54oDkR6IkYz/Slev8QxJzYflb9boBLJsoU\n RyWm3MOWAXL5F9WjLgxJIiSyI+cBlFm1jBQbDCvS3T1TDsEEa+EESc00YzMGtOfNffgV\n dvqaMZqjGjudbwOWivizYWdHvv1qeyutN2hhvq+eoTYo6a1zWi+59v6+C61ooT8VWJ1x\n AC146taxUWkjkhVuAjs4SooPBg+s2eFcHL0EHytZGu7AtiDocObs9WWcTc3Jk8O3CmyK\n rqK5gpkWNUpTxpmxhNVvBXpCGKrMbxpeKby8qp+CKFw94nzHWBPBZaX5hYXlQjvd4hcB\n AoiQ==","X-Forwarded-Encrypted":"i=1;\n AJvYcCU0Mxl6RuLI+htrlCHyrEStsya6KTUOJX8MPBry28eRQ7KFgR/yUe2aOzRFFBx40TtbIvQUgcZQ2aedpQ==@gcc.gnu.org","X-Gm-Message-State":"AOJu0YyOK5T88d8XLJag0o/wkRZygplQQWT9RM9yHO45+nSp/zdyUWht\n ZY4m410tHO87Msal0XoRoY0e5pvKtTEPRaZDQ3TjSVJ3phlvHnyy40UxpfPZu52xEUKaCaJJUHT\n ilEOE6cZqXXBfnr5z6JB0VXM8cfdrtdufoEckF/4L4Mm6QdmWhU8eurGpgXlz","X-Gm-Gg":"AeBDievi/gnjnDr6Ikl46CeHtpRnuGT9WG+dUzsJO+2JrJEhst9H+XpLdPIlu+P0KeD\n rUmLp3D1jxxji/7kNc/7VHo+EusfUgS5WNWkpoG+Eya0Y6mdWMxkM4PMSnAs7XDNf50MCQpSP/w\n D76NeySdoegAlbvIzO5b+QZLvCDxUdQ8HmTqIkHhby1VdG8qfL35mFY+EqviEZaRGFrACtH1SeD\n VQHpVe6dbgyXiY8m7JtEHLI2KjrT3GJB+siUTGrcItaSR7mjdH09fsVmQW6sQsZQs8UlFwKcxlY\n yIBQEG8hIbbmXHH1ZP7tRiHjWsG259p5So9Xk9ubDxuX8EgBcQm2clqI4KltSVdvn7UljK0nMVC\n 8YhJMaMRBg3xggxdIG2RKx/LcuUiSUR8zXGQ2QKKVD9Tjir6qNg==","X-Received":["by 2002:a05:7300:5351:b0:2c7:ea98:d94 with SMTP id\n 5a478bee46e88-2d586ea7722mr696483eec.2.1775780788170;\n Thu, 09 Apr 2026 17:26:28 -0700 (PDT)","by 2002:a05:7300:5351:b0:2c7:ea98:d94 with SMTP id\n 5a478bee46e88-2d586ea7722mr696464eec.2.1775780787622;\n Thu, 09 Apr 2026 17:26:27 -0700 (PDT)"],"Message-ID":"<e0b76b84-9cd1-45e7-906e-87c5c518cabc@oss.qualcomm.com>","Date":"Thu, 9 Apr 2026 18:26:25 -0600","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] RISC-V: Update RVV intrinsic version to ratified v1.0","To":"=?utf-8?q?Christoph_M=C3=BCllner?= <christoph.muellner@vrull.eu>,\n gcc-patches@gcc.gnu.org, Kito Cheng <kito.cheng@gmail.com>,\n Palmer Dabbelt <palmer@dabbelt.com>, Robin Dapp <rdapp.gcc@gmail.com>,\n Andrew Waterman <andrew@sifive.com>, Jim Wilson <jim.wilson.gcc@gmail.com>,\n Jeff Law <jeffreyalaw@gmail.com>","References":"<20260409194104.2299975-1-christoph.muellner@vrull.eu>","Content-Language":"en-US","From":"Jeffrey Law <jeffrey.law@oss.qualcomm.com>","In-Reply-To":"<20260409194104.2299975-1-christoph.muellner@vrull.eu>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwNDEwMDAwMiBTYWx0ZWRfX4wC/yLjcXQBL\n Dc7erm+SpEOUeO0e3SHG2zitQ8d2GW6RTbFeFI1VxHX60JWtpPDI+xBSavbuwqzp+DkLx60o24d\n DlLv7LFzIxapwnv+SE82J7BPLVYTlpWDRoljJqoATnR9DCEqw3FaRVvrMNr2fTKkxqzakTXGD07\n 8h2SsuT6bOwgFcN4QzQUmpX86I6D2HAJDhcotYy7NzGCLe3e6ZIITZ2wUgrbdLfj5g1jvogI47J\n CLcesJ5fRiqqOF9gdsRf/tyRVePn7Gyjq10CA5XjOCohYtfplSi5MpVEP12vxYVuTW8F46/ZmQm\n urL+ymDU2iZtZbcR0l1d17ce2+O1iVH8jrYOGWN7awg1ajjGuwweLrh7ey4B+QJy7SfvsRMlgje\n E+gJfn5xFz/tABgIt0lOe+ixHSFdz3oHqVEAfk2ilTw1CGVJLjdXMCpwg0ZgrCXuSPqIjD6Dqti\n IV+q8GWBQpJ7sf8pR9w==","X-Proofpoint-ORIG-GUID":"ukzPI-npQT7Z4keIxqJJDACNQ6kV8Gz8","X-Proofpoint-GUID":"ukzPI-npQT7Z4keIxqJJDACNQ6kV8Gz8","X-Authority-Analysis":"v=2.4 cv=BJyDalQG c=1 sm=1 tr=0 ts=69d843b5 cx=c_pps\n a=wEP8DlPgTf/vqF+yE6f9lg==:117 a=asGLMfRmzhnGNxaIYohjRg==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22\n a=GBFXLII2VXYSjrXAh1gA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10\n a=bBxd6f-gb0O0v-kibOvt:22","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-09_05,2026-04-09_02,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n lowpriorityscore=0 suspectscore=0 malwarescore=0 bulkscore=0 adultscore=0\n priorityscore=1501 impostorscore=0 clxscore=1015 phishscore=0 spamscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604010000 definitions=main-2604100002","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}}]