MitchAlsup <user…@newsgrouper.org.invalid> writes:
>Thomas Koenig <tkoe…@netcologne.de> posted: >
>> >> RISC-V: Reject conflicting Zclsd and Zcf extensions >> >> Zclsd and Zcf reuse the same instruction encodings.
...
>Exactly what do you think would happen if all instruction encodings >are not controlled under 1 roof {Guy, group, committee} ???
In this case both instruction set extensions actually are ratified. So having extensions with conflicting encodings is something that is acceptable in RISC-V space. Given that, the insistence of libopcodes to specify the exact ISA variant for decompilation makes a little more sense. However, for ISAs that do not have this problem, I wish it had an <isa>_latest id, so that one would not have to #ifdef oneself through the various options. Even for ISAs that have the problem, an <isa>_latest_nonconflicting id would make sense: One could at least disassemble all the instructions that libopcodes knows about that have a unique disassembly. - anton
-- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17f…@googlegroups.com>