Landing: 277e73c868a1
Project / Subsystem
gcc / rx
Date
2026-05-18
Author
Yoshinori Sato
Commit
277e73c868a1e655629109e5651c3a81f6292f53
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- rx
- patch_id
- —
- commit_hash
- 277e73c868a1e655629109e5651c3a81f6292f53
- source_type
- github
- headline
- RX: Correct the size of mov instruction
- tldr
- This patch fixes incorrect code generation in the RX backend when expanding `extendqisi2` or `extendhisi2` operations.
- author
- Yoshinori Sato
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gcc
- • rx
- • code generation
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-18T00:00:00.000Z
The RX backend was generating incorrect mov instruction sizes for certain code patterns, leading to incorrect output. This patch ensures the correct operation size is always selected for mov instructions, resolving the code generation issue. Optimization hid the bug, so it went unnoticed until now.