Article View: comp.arch
Article #979Re: Just read in the gcc commt log (incompatible RISC-V extensions)
From: Anton Ertl
Date: Sun, 29 Nov 2026 07:44
Date: Sun, 29 Nov 2026 07:44
28 lines
2299 bytes
2299 bytes
MitchAlsup <user5857@newsgrouper.org.invalid> writes:
>Thomas Koenig <tkoenig@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, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID:
<2026Nov29.084430@mips.complang.tuwien.ac.at>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11ee5ja$2d6e3$1@dont-email.me> <1795894559-5857@newsgrouper.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.arch Subject: Re: Just read in the gcc commt log (incompatible RISC-V extensions) Date: Sun, 29 Nov 2026 07:44:30 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 28 Message-ID: <2026Nov29.084430@mips.complang.tuwien.ac.at> References: <11ee5ja$2d6e3$1@dont-email.me> <1795894559-5857@newsgrouper.org> Injection-Date: Sun, 29 Nov 2026 08:02:32 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3456951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wvtydrb8rc7rJlPTozgER"; posting-host="df175a10c7b087b1261e154d011c84ba" Cancel-Lock: sha1:lubFwshdEpD1a0sZT4EV/Q3O/nA= sha256:2ourGq351wm4bnMxje5IPAirldzETGx4FkW7j68J3ms= sha1:kroUTLcOCoN81boy9aPhkEb5Z/g= sha256:E7t/eyLt9I90azynymEGaVALmV+Djmn0GZeO5r4buDk= X-newsreader: xrn 10.11