🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #991

Re: Just read in the gcc commt log (incompatible RISC-V extensions)

#991
From: Anton Ertl
Date: Mon, 30 Nov 2026 18:42
33 lines
2797 bytes
Andy Valencia <vandys@vsta.org> writes:
>When I saw how many modular/optional RISC-V instruction set parts were
>defined, I feared it would be a combinatoric train wreck when it met
>the Real World.  How that overlapping encodings are apparently
>acceptable, it seems like it'll eventually devolve into a world where
>every CPU line is a one-off quiltwork.  That should work for _some_
>markets....

I expect that in markets with ISVs, profiles like RV64G, RVA22, RVA23,
... will be the common substrate.

In specialized embedded systems with one-off (firm) software,
hardware-specific extensions are probably viable.

And then there's markets somewhere in-between where there is both a
lure of customizing the hardware for the application, but also to use
some common software basis.

Anyway, what I have read about the two extensions mentioned in the
ancestor posting, what I read about them was that it's about
compressed instructions on CPUs with FP vs. without FP.  If you don't
have a FPU nor FP registers, you don't want to spend precious
compressed-instruction encoding space on FP instructions.  The
alternative compressed instructions may help you make your program a
little smaller, which tends to be useful on the kind of embedded
systems that have no FP.  Your software does not run on a RV32GC CPU?
That's the price you pay for that benefit.  I guess there will be
people who gladly pay it.

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Nov30.194231@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-mail
References: <2026Nov29.084430@mips.complang.tuwien.ac.at> <11ee5ja$2d6e3$1@dont-email.me> <1795894559-5857@newsgrouper.org> <179605514154.14732.15634086010375782764@media.vsta.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: Mon, 30 Nov 2026 18:42:31 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 33
Message-ID: <2026Nov30.194231@mips.complang.tuwien.ac.at>
References: <2026Nov29.084430@mips.complang.tuwien.ac.at> <11ee5ja$2d6e3$1@dont-email.me> <1795894559-5857@newsgrouper.org> <179605514154.14732.15634086010375782764@media.vsta.org>
Injection-Date: Mon, 30 Nov 2026 19:09:13 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="802513"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18qowOHzhKkST61FUI6SQBY"; posting-host="9f98da6933dc7cb94ede6b09405aa366"
Cancel-Lock: sha1:p8XWSEnRrA+KVbyUyeO1XZ5slA4= sha256:8gNUSNVD4mY8VaWiRT7dRPb6KqcEK6VbSyflcJ1LWjk=
	sha1:DGL4K5d4spJ71oQ9uuMWGDe2ZwU= sha256:YPpN5A2bBRYzB7JJe2w53RkqMT7kG0n33icmC5l4XuE=
X-newsreader: xrn 10.11