RISC-V Design · All levels

Toolchain and Profile Matrix

How ISA profiles, compiler flags, and runtime feature detection align to hardware capability.

Compatibility map

diagram
PROFILE    CORE FEATURE SET      COMPILER FLAGS            RUNTIME CHECK
rv64imac   base + mul/div + atomics + C   -march=rv64imac          misa + platform probe
rv64gc     rv64imac + F/D + Zicsr          -march=rv64gc            extension bitmap check
rv64gcv    rv64gc + vector                 -march=rv64gcv           vector CSR probe + ABI gate
custom-x   profile + custom extension      explicit custom flags    guarded dispatch path
  • Keep profile declaration and CI conformance in sync.

  • Never allow silent use of unavailable instructions.

  • Tie fallback paths to deterministic runtime checks.