This series closes a few metadata gaps in GCC's RISC-V C API feature
bit support and in libgcc's Linux hwprobe-to-feature-bit mapping.
The patches do not add ISA extension support, instruction patterns, or
optimizations.  All affected extensions already have GCC support; the
series only adds the missing metadata and, where Linux exposes matching
hwprobe bits, corresponding bit definitions.

The series is split by source and dependency:
* Patch 1 adds RISC-V C API feature bits that are already allocated
  and that correspond to existing GCC extension entries.
* Patch 2 adds the C API feature-bit metadata from riscv-c-api-doc
  PR #185.
* Patch 3 adds direct Linux hwprobe mappings for the extensions that
  upstream Linux exposes through RISCV_HWPROBE_KEY_IMA_EXT_0.
* Patch 4 adds Zicfiss C API metadata and Linux hwprobe support.  C API
  bit allocation for this patch depends on riscv-c-api-doc PR #187.

Christoph Müllner (4):
  RISC-V: Add C API feature bits for existing extensions
  RISC-V: Add C API feature bits from riscv-c-api-doc PR #185
  RISC-V: Add Linux hwprobe mappings for existing extensions
  RISC-V: Add C API and hwprobe feature bit for zicfiss

 gcc/common/config/riscv/riscv-ext-bitmask.def | 22 +++++
 gcc/config/riscv/riscv-ext.def                | 56 ++++++-------
 libgcc/config/riscv/feature_bits.c            | 83 +++++++++++++++++++
 3 files changed, 133 insertions(+), 28 deletions(-)

-- 
2.54.0

Reply via email to