On 11/28/2026 1:35 PM, MitchAlsup wrote:
> Thomas Koenig <tkoe…@netcologne.de> posted: >
>> >> RISC-V: Reject conflicting Zclsd and Zcf extensions >> Zclsd and Zcf reuse the same instruction encodings. Diagnose the >> conflict after expanding implied extensions so it is also caught when >> C and F imply Zcf on RV32. >> The arch-zilsd tests passed on both boards with no new regressions. >> >> Why am I not surprised?
> > Exactly what do you think would happen if all instruction encodings > are not controlled under 1 roof {Guy, group, committee} ???
Some amount of overlapping and incompatible encodings are basically inevitable. Though, there are some efforts that exist which have the idea of essentially allowing some extensions to be bank-swapped via CSRs. Usually it is usually better though to have conflicts in cases where the combination of features is something that is unlikely to be used together in practice. Otherwise, yes, it can be a pain. ...