Landing: 6e537f0237a4
Project / Subsystem
gcc / sh
Date
2026-07-03
Author
Oleg Endo
Commit
6e537f0237a464876fdc752b3b155d61babf4756
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- sh
- patch_id
- —
- commit_hash
- 6e537f0237a464876fdc752b3b155d61babf4756
- source_type
- github
- headline
- SH: Inline emit_fpu_switch into its only caller fpscr_set_from_mem
- tldr
- Simplifies SH target code by inlining a function.
- author
- Oleg Endo
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • sh
- • optimization
- • code-cleanup
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-03T00:00:00.000Z
The emit_fpu_switch function in the SH target’s configuration has been inlined into its sole caller, fpscr_set_from_mem. This change, related to PR target/55212, reduces code duplication and simplifies the codebase by merging the functionality of the small helper function directly into its usage site.