Article View: comp.arch
Article #975Re: Just read in the gcc commt log (incompatible RISC-V extensions)
From: BGB
Date: Sat, 28 Nov 2026 23:48
Date: Sat, 28 Nov 2026 23:48
34 lines
2284 bytes
2284 bytes
On 11/28/2026 1:35 PM, MitchAlsup wrote:
> Thomas Koenig <tkoenig@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.
...
Technical Details
Message-ID:
<11efp8p$3197o$1@dont-email.me>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: BGB <cr88192@gmail.com> Newsgroups: comp.arch Subject: Re: Just read in the gcc commt log (incompatible RISC-V extensions) Date: Sat, 28 Nov 2026 17:48:41 -0600 Organization: A noiseless patient Spider Lines: 34 Message-ID: <11efp8p$3197o$1@dont-email.me> References: <11ee5ja$2d6e3$1@dont-email.me> <1795894559-5857@newsgrouper.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 28 Nov 2026 23:48:42 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3187960"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HDx2a9ThySV23v76rU0yr6U9R+MCT6CY="; posting-host="c45c6d6d0a1088c59f38802fb393d446" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:9l0sRfHIFjQGGOM/NfAFY18/BKU= sha256:OymQzlTzZ12hxYT7ost9JhuxskYAJJC1JH8K2WSsPHM= sha1:gbq5ctMtZ9EISk3JF+GCCL1O4wU= sha256:Gu7zuGtJo6VGV3kiKqHRVNE5nOEu3459w0i0PHWRNQY= In-Reply-To: <1795894559-5857@newsgrouper.org> Content-Language: en-US