Landing: 3d79c978b534
Project / Subsystem
gcc / risc-v
Date
2026-09-21
Author
Robin Dapp
Commit
3d79c978b53474d2b613fe3e28037393c8d037b0
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- risc-v
- patch_id
- —
- commit_hash
- 3d79c978b53474d2b613fe3e28037393c8d037b0
- source_type
- github
- headline
- RISC-V: Spill more unsplittable moves.
- tldr
- RISC-V compiler improves handling of complex data moves, reducing spills.
- author
- Robin Dapp
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • risc-v
- • optimization
- • spilling
- • performance
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-21T00:00:00.000Z
This patch enhances the RISC-V compiler’s ability to handle complex data movements, particularly ‘unsplittable’ moves involving arbitrary data modes. It extends the riscv_subpart function to manage sub-parts of any mode and uses this capability to move spilled TFmode values in word-sized chunks. This change addresses issues with quadword splits and int128 data types, reducing the occurrence of spills in such scenarios.