]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Update RVV intrinsic version to ratified v1.0 master trunk
authorChristoph Müllner <christoph.muellner@vrull.eu>
Thu, 9 Apr 2026 16:22:50 +0000 (18:22 +0200)
committerChristoph Müllner <christoph.muellner@vrull.eu>
Fri, 10 Apr 2026 00:29:03 +0000 (02:29 +0200)
commitb753ec3d7457189728dcaecd37e73c46226c05fe
tree35c8000f7638a1e33248439046f77a025f3ca7cd
parent9772e8d3c2dd45195ec6d0d0c00f533d976ac249
RISC-V: Update RVV intrinsic version to ratified v1.0

The RVV intrinsic implementation already matches the ratified v1.0
interface, but GCC still advertises __riscv_v_intrinsic as v0.12 and
the manual still points users at the stale v0.11.x documentation.

Update __riscv_v_intrinsic to v1.0, adjust the related tests, and
update the manual to say that GCC supports the ratified v1.0 RVV
intrinsic specification and point at the v1.0-ratified release.

gcc/ChangeLog:

* config/riscv/riscv-c.cc (riscv_cpu_cpp_builtins): Set
__riscv_v_intrinsic to v1.0.
* doc/extend.texi (RISC-V Vector Intrinsics): Document the
ratified v1.0 RVV intrinsic specification and update the link.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/predef-__riscv_v_intrinsic.c: Update expected
__riscv_v_intrinsic value.
* gcc.target/riscv/rvv/base/pr114017-1.c: Update version check and
expected warning text to v1.0.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/config/riscv/riscv-c.cc
gcc/doc/extend.texi
gcc/testsuite/gcc.target/riscv/predef-__riscv_v_intrinsic.c
gcc/testsuite/gcc.target/riscv/rvv/base/pr114017-1.c