This way is possible to write inline assembly code aware of it.
riscv-interrupt-{m,s}
become
internal_features
--print KIND=PATH