Landing: a924d879f01d
Project / Subsystem
gcc / risc-v
Date
2026-09-25
Author
Robin Dapp
Commit
a924d879f01d00d6c29e870c51bebcbf5e5a96eb
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- risc-v
- patch_id
- —
- commit_hash
- a924d879f01d00d6c29e870c51bebcbf5e5a96eb
- source_type
- github
- headline
- RISC-V: Consider spills in conv-dynamic LMUL for vector operations.
- tldr
- RISC-V vector code generation now considers spills when determining LMUL for conv-dynamic mode.
- author
- Robin Dapp
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • risc-v
- • vectorization
- • optimization
- • performance
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-25T00:00:00.000Z
The RISC-V vector code generation, specifically for the -mrvv-max-lmul=conv-dynamic option, now accounts for potential data spills. Previously, this mode solely relied on the size ratio of the largest and smallest types, sometimes leading to unexpected spills in applications like x264. This change integrates spill estimation into the ‘conv-dynamic’ mode and refactors related logic for clarity.