Landing: 5919b5e6c0d6
Project / Subsystem
gcc / gcc
Date
2026-04-17
Author
Andre Vieira
Commit
5919b5e6c0d63683129647b412c3b851feb3d2dc
Source
github
Impact
7/10
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 5919b5e6c0d63683129647b412c3b851feb3d2dc
- source_type
- github
- headline
- ARM, BitInt: Add hard-float ABI support for exception and rounding modes.
- tldr
- Adds support for handling floating-point exceptions and rounding modes with the hard-float ABI on ARM, used by BitInt software emulation for floating-point con…
- why_it_matters
- Enables correct floating-point exception handling and rounding for _BitInt software emulation on ARM platforms using the hard-float ABI, ensuring accurate and reliable computations.
- author
- Andre Vieira
- impact_score
- 7
- impact_rationale
- Adds support for important features in a specific architecture and ABI, which can affect the correctness of programs using floating point operations.
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ARM
- • BitInt
- • floating-point
- • ABI
- • exception handling
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-17T00:00:00.000Z
This commit introduces support for FP_HANDLE_EXCEPTIONS and FP_ROUNDMODE when using the hard-float ABI on ARM. This is necessary for _BitInt software emulation to correctly handle floating-point conversions and throw exceptions when needed. A new file, sfp-exceptions.c, is added, and the necessary macros and declarations are included in sfp-machine.h.