Based on RISC-V Core-Local Interrupt Controller (CLIC) Version 0.9-draft-20200423 proposal.
WIP - requires adding a flag to control click mode version. Maybe something similar to what is being proposed in binutils:
https://sourceware.org/pipermail/binutils/2020-April/110714.html
New options: -mpriv-spec=[1p9|1p9p1|1p10|1p11] -misa-spec = [2p0|2p1|2p2|20190608|20191213]