Landing: 13ece0294f16

Project / Subsystem

gcc / risc-v

Date

2026-05-17

Author

Christoph Müllner

Commit

13ece0294f16019878b9b2207282a3e52476bcbb

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
risc-v
patch_id
commit_hash
13ece0294f16019878b9b2207282a3e52476bcbb
source_type
github
headline
RISC-V: Add C API and hwprobe bit for the zicfiss extension.
tldr
Adds metadata and runtime feature-bit probing for the RISC-V zicfiss extension, aligning with the C API and Linux hwprobe.
author
Christoph Müllner
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • risc-v
  • zicfiss
  • feature detection
  • hwprobe
discussion_id_link
bugzilla_pr
date
2026-05-17T00:00:00.000Z

This commit adds metadata and runtime feature-bit probing for the RISC-V zicfiss extension. It incorporates the RISC-V C API feature bit as defined in riscv-c-api-doc PR #187 and maps it to the corresponding Linux hwprobe constant (RISCV_HWPROBE_KEY_IMA_EXT_1). This allows the compiler to detect the zicfiss extension at runtime, improving compatibility and feature detection. The patch does not include new ISA extension support.