Landing: be21dc1a98b6
Project / Subsystem
gcc / risc-v
Date
2026-05-17
Author
Christoph Müllner
Commit
be21dc1a98b6f6bb51c8c34b5a6467a286529a57
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- risc-v
- patch_id
- —
- commit_hash
- be21dc1a98b6f6bb51c8c34b5a6467a286529a57
- source_type
- github
- headline
- RISC-V: Add C API feature bits for existing extensions.
- tldr
- Adds missing C API feature bits for existing RISC-V extensions, improving feature detection.
- author
- Christoph Müllner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • risc-v
- • feature detection
- • metadata
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-17T00:00:00.000Z
This commit adds missing C API feature bits for existing RISC-V extensions, including b, e, h, zilsd, zclsd, zcmp, zifencei, and zmmul. These extensions were already present in riscv-ext.def, but the corresponding bitmask table and libgcc definitions were missing. This addition ensures that the compiler can properly detect and utilize these extensions, resolving inconsistencies and improving feature support.