A strong April for the RISC-V software stack: 347 commits across 12 projects. LLVM (RISC-V) led with 183 commits (52%). Also active: Linux Kernel (RISC-V) (43), U-Boot (RISC-V) (30), OpenSBI (25). Extension support work touched Smcntrpmf, Zicsr. Most-discussed mailing list thread: "RISC-V: Combine vec_duplicate + vadd.vv to vadd.vx on GR2VR cost" (GCC (RISC-V), 12 replies).
RISC-V International
The spec repos saw 38 commits this month, led by ISA Manual with 30 commits.
Spec Repository Activity
Repository
Commits
Contributors
ISA Manual
30
7
SBI Spec
8
2
Linux Kernel (RISC-V)
43
Commits
21
Contributors
744
Lines Added
433
Lines Removed
Linux Kernel (RISC-V) had a solid month with 43 commits from 21 contributors. Top contributor: Eric Biggers with 5 commits. New feature work included 9 commits: "riscv: defconfig: spacemit: enable clock controller driver for SpacemiT K1"; "riscv: dts: thead: Introduce reset controller node". Bug fixes accounted for 5 commits (11%).
9 New features & support5 Bug fixes2 Device tree / platform support1 Security & memory safety fixes
Notable Changes
riscv: defconfig: spacemit: enable gpio support for K1 SoC (8ec8b25dde, Yixun Lan)
OpenSBI kept moving with 25 commits from 8 contributors. Top contributor: Samuel Holland with 12 commits. The interrupt subsystem got 1 patch of attention this month.
5 New features & support2 Bug fixes1 ISA extensions1 Interrupt controllers (AIA/APLIC/PLIC)1 Device tree / platform support
Notable Changes
lib: sbi_trap: Add support for vectored interrupts (afa0e3091b, Samuel Holland)
lib: sbi: Handle length of extension name string exceed buffer size error (d2166a9d40, Jimmy Ho)
lib: sbi: Enable Control Transfer Records (CTR) Ext using xstateen. (aa40c53ce4, Rajnesh Kanwal)
docs: pmu_support: fix example typos (5ab908d622, Leo Yu-Chi Liang)
sbi: Introduce sbi_hartmask_weight (a6e5f8878c, Andrew Jones)
lib: sbi: Allow programmable counters to monitor cycle/instret events for Andes PMU (0442f1318e, Leo Yu-Chi Liang)
platform: rzfive: Call andes_pma_setup_regions() only during cold boot (ac2e428c4b, Samuel Holland)
platform: generic: Initialize overrides with fdt_driver (and 6 more) (1c579675be, Samuel Holland)
lib: sbi: Set the scratch allocation to alignment to cacheline size (99aabc6b84, Raj Vishwanathan)
QEMU (RISC-V) saw moderate activity with 25 commits from 4 contributors. Leading the charge was Philippe Mathieu-Daudé with 11 commits. The interrupt subsystem got 1 patch of attention this month.
A steady month for GCC (RISC-V) with 23 commits from 14 contributors. Pan Li was the most active contributor with 4 commits. The vector extension (RVV) saw 9 commits of continued development. Bug fixes accounted for 7 commits (30%). The thread "RISC-V: Combine vec_duplicate + vadd.vv to vadd.vx on GR2VR cost" generated notable discussion with 12 replies.
9 Vector extension (RVV)7 Bug fixes4 Cleanup & refactoring3 New features & support2 ISA extensions2 Compiler backend / code generation
Notable Changes
RISC-V: Disable unsupported vsext/vzext patterns for XTheadVector. (196b45caca, Jin Ma)
[PATCH] riscv: Add support for riscv*-gnu (GNU/Hurd on RISC-V) (869f2ab30a, Hakan Candar)
[PATCH v2] RISC-V: Fixbug for slli + addw + zext.w into sh[123]add + zext.w (dd6ebc0a34, Jin Ma)
RISC-V: Extract vector stepped for expand_const_vector [NFC] (and 3 more) (ab22b8c630, Pan Li)
[PATCH] [RISC-V]Support -mcpu for Xuantie cpu (bd8a48500c, Yixuan Chen)
[PATCH] RISC-V: Do not free a riscv_arch_string when handling target-arch attribute (2d6f1ca17f, 翁愷邑)
[PATCH] [RISC-V] Tune for removal unnecessary sext in builtin overflows [PR108016] (529a43109f, Alexey Merzlyakov)
RISC-V: Fix the behavior for multilib-generator with --cmodel=large on rv32 (72dff34bcd, Kito Cheng)
It was a busy month in LLVM (RISC-V) land, with 183 commits from 38 contributors. +34,846/-15,881 lines changed — a big diff. Top contributor: Craig Topper with 40 commits. New feature work included 51 commits: "[RISCV] Fix Defs/Uses for SiFive CLIC Support (#137724)"; "Revert "[llvm] Add support for llvm IR atomicrmw fminimum/fmaximum instructions" (#137657)". Work on Smcntrpmf, Zicsr accounted for 42 commits. Backend and code generation work was the biggest theme at 30 commits.
51 New features & support42 ISA extensions41 Cleanup & refactoring30 Compiler backend / code generation12 Bug fixes4 Vector extension (RVV)1 Interrupt controllers (AIA/APLIC/PLIC)1 Performance optimisations
Notable Changes
[RISCV] Add codegen tests for `vector.(de)interleave3/5/7` on FP scalable vectors (#137257) (7122d9c562, Min-Yih Hsu)
Revert "[llvm] Add support for llvm IR atomicrmw fminimum/fmaximum instructions" (#137657) (7ee0097b48, Jonathan Thackray)
[RISCV] Add symbol parsing support for Xqcili load large immediate instructions (#134581) (1d2f5ead05, Sudharsan Veeravalli)
[RISCV] Add symbol parsing support for the Xqcibi branch immediate instructions (#134233) (ae5306f30e, Sudharsan Veeravalli)
[RISCV] Add new CondCode COND_CV_BEQIMM/COND_CV_BNEIMM for CV immediate branch (#135771) (0439a4eca7, Jim Lin)
[TableGen][RISCV][AArch64][GISel] Properly implement isAnyExtLoad/isSignExtLoad/isZeroExtLoad for IsAtomic in SelectionDAG. (#137096) (2ca071b1de, Craig Topper)
[llvm] Add support for llvm IR atomicrmw fminimum/fmaximum instructions (#136759) (ba420d8122, Jonathan Thackray)
[RISCV] Add symbol parsing support for Xqcilb long branch instructions (#135044) (eccd7aa888, Sudharsan Veeravalli)
[RISCV] Add test for vmv.s.x of an immediate into a zeroinitializer vector. NFC (c132bd6885, Luke Lau)
[RISCV] Add codegen support for ri.vinsert.v.x and ri.vextract.x.v (#136708) (9062a38d5d, Philip Reames)
AsmPrinter: Remove ELF's special lowerRelativeReference for unnamed_addr function; use lowerDSOLocalEquivalent in more cases (7117dea043, Fangrui Song)
[RISCV] Add Andes XAndesperf (Andes Performance) extension. (#135110) (6ba1a62a6c, Jim Lin)
[RISCV] Support vectorizing FMINIMUMNUM and FMAXIMUMNUM (#135727) (e9a34e4236, YunQiang Su)
[RISCV] Add test for vmv.s.x into a zeroinitializer vector. NFC (ffaaaceaa1, Luke Lau)
Reland "[SelectionDAG] Introducing a new ISD::POISON SDNode to represent the poison value in the IR." (#135056) (378ac572ac, zhijian lin)
Top Contributors
Author
Commits
Craig Topper
40
Fangrui Song
23
Philip Reames
22
Jim Lin
11
Luke Lau
10
Sergei Barannikov
9
Sam Elliott
9
Sudharsan Veeravalli
8
Piotr Fusik
7
Pengcheng Wang
3
glibc (RISC-V)
2
Commits
2
Contributors
18
Lines Added
0
Lines Removed
glibc (RISC-V) was quiet this month with 2 commits from 2 contributors.
1 ISA extensions1 Compiler backend / code generation1 New features & support
Notable Changes
RISC-V: Use builtin for ffs and ffsll while supported extension available (4c966c0780, Julian Zhu)
A steady month for U-Boot (RISC-V) with 30 commits from 8 contributors. Top contributor: Heinrich Schuchardt with 15 commits. New feature work included 12 commits: "doc: add DeepComputing FML13V01 documentation"; "board: starfive: spl: support DeepComputing FML13V01". Device tree and platform support saw 8 commits.
12 New features & support8 Device tree / platform support2 Cleanup & refactoring1 Compiler backend / code generation
Notable Changes
riscv: lib: Add a default implementation of board_fdt_blob_setup (d0969a6b64, Yao Zi)
Revert "Merge patch series "pxe: Precursor series for supporting read_all() in extlinux / PXE"" (f892a7f397, Tom Rini)
doc: board: starfive: visionfive2: add missing format command to Flashing (84028132af, E Shattow)