Landing: d55b88505c7e
Project / Subsystem
gcc / i386
Date
2026-08-06
Author
Uros Bizjak
Commit
d55b88505c7eace3b5476d021af52b996407cae3
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- i386
- patch_id
- —
- commit_hash
- d55b88505c7eace3b5476d021af52b996407cae3
- source_type
- github
- headline
- Use %w operand modifier for ROLW bswaphisi2_lowpart alternative.
- tldr
- Fixes incorrect operand size handling for ROLW instruction on i386.
- author
- Uros Bizjak
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • i386
- • code generation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-06T00:00:00.000Z
This change corrects an issue on the i386 architecture where the bswaphisi2_lowpart alternative for the ROLW instruction was not using the correct operand size modifier. By introducing the %w operand modifier, the compiler now correctly emits a HImode register name, resolving a bug reported in PR126685.