Landing: b55ba08f1055
Project / Subsystem
gcc / hppa
Date
2026-09-09
Author
John David Anglin
Commit
b55ba08f1055d5c8748699a36f419c8078044594
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- hppa
- patch_id
- —
- commit_hash
- b55ba08f1055d5c8748699a36f419c8078044594
- source_type
- github
- headline
- hppa: Reduce r1 register pressure with alternative load sequences.
- tldr
- HPPA backend avoids r1 register pressure by using ldil/addl sequences for symbolic operand loading.
- author
- John David Anglin
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • hppa
- • register-allocation
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-09T00:00:00.000Z
The HPPA backend has introduced an alternative instruction sequence (ldil/addl) to load the high part of symbolic operands, reducing pressure on the r1 register. This change aims to prevent compilation failures caused by the lack of available registers for spilling, offering a less costly alternative than spilling r1 itself. A note is included regarding a limitation with PIC code linking into non-PIC executables.