Landing: a7a7368a2f78
Project / Subsystem
gcc / alpha
Date
2026-08-18
Author
Matt Turner
Commit
a7a7368a2f78b53adff0371045be97ac7eb1ec35
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- alpha
- patch_id
- —
- commit_hash
- a7a7368a2f78b53adff0371045be97ac7eb1ec35
- source_type
- github
- headline
- Alpha correctly handles dynamic rounding-math
- tldr
- Alpha now honors -frounding-math by selecting dynamic rounding for floating-point operations.
- author
- Matt Turner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- gcc:alpha: honor -frounding-math by selecting dynamic rounding
- series_parts
- []
- tags
-
- • alpha
- • optimization
- • rounding-math
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-18T00:00:00.000Z
Floating-point rounding modes on Alpha are controlled by instructions, which previously defaulted to static rounding. This commit modifies the default rounding mode to dynamic when -frounding-math is enabled and no specific rounding mode is provided. This ensures that runtime rounding mode changes are respected, fixing issues in several floating-point test cases.