🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #601

Re: vector length CSR?

#601
From: BGB
Date: Mon, 09 Nov 2026 01:24
69 lines
4188 bytes
On 11/8/2026 6:01 PM, Lawrence D’Oliveiro wrote:
> On Sun, 8 Nov 2026 07:39:44 -0500, Robert Finch wrote:
> 
>> I looked at the RISCV vector extension model and they have it just
>> as a CSR. Makes me think that is an acceptable solution.
> 
> RISC-V is going against the prevailing fashion on this. Most other CPU
> architectures in common use implement loads of SIMD instructions with
> fixed vector lengths that are typically quite short: e.g. 4 or 8
> elements. The reason why you need loads of different instructions is
> because you want to cover all the possible combinations of operand
> types that a programmer might find useful.
> 
> The RISC-V designers quite rightly criticize this combinatorial
> explosion of instruction variants as going completely against the
> whole idea of a *reduced* instruction set computer (which is what
> “RISC” is supposed to stand for).


I am in the camp though of thinking that, in the use case where you need 
4 or 8 element vectors, needing to update the state whenever changing to 
a new vector format (more so if pipeline latency is involved) is 
basically shooting oneself in the foot.

My own leaning is, admittedly, to go the direction of saying that only 
64 and 128 bit SIMD vectors exist with only 2 or 4 elements. Otherwise, 
the SIMD ISA is treated basically the same as the integer ISA.

But, this is possibly also unpopular...


The design of RV-V could make more sense though where one has a low 
density of operations, and operations that can effectively utilize 
longer vectors.

Just, this doesn't tend to match most of my use-cases.

There are a lot of use cases where one needs a 3 element vector, but 
tradition here is to use a 4 element vector and ignore the last element.

...



Meanwhile... Ironically me writing an AU sci-fi story (imagining a world 
where the IBM PC clone market never happened) had led to me 
experimenting with implementing a Cinepak inspired image/video 
compressor (in the story, the idea is that they mostly use video 
compression technology that evolved out of Cinepak rather than MPEG).

Well, along with a lot of technological divergence; mostly things still 
using a lot more analog and optical media. No Windows exists (was mostly 
subsumed into OS/2); with home users mostly running a descendant of the 
Amiga Workbench OS (on top of PowerPC based computers); with no WWW 
stuff (instead a primarily FTP based internet experience), etc.


Though, to admit, a lot of it is mostly writing down stuff based on 
imagery that is floating around in my head (well, some amount of it 
depicting a world of mostly PowerPC based computers running Workbench 
and people still watching movies and shows off of LaserDisc and similar; 
so I decided to write a story based on this setting...).

( Me, trying to avoid just following a short response with an overly 
long detour... )

...

Technical Details
Message-ID: <11cr7cp$rsrs$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cpqih$acf5$1@dont-email.me> <11cr2g5$q796$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!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: vector length CSR?
Date: Sun, 8 Nov 2026 19:24:38 -0600
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <11cr7cp$rsrs$1@dont-email.me>
References: <11cpqih$acf5$1@dont-email.me> <11cr2g5$q796$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 09 Nov 2026 01:24:42 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="914300"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19L0PWAQPuuaT3iHl9BXLEWyJSgHEnQ9+k="; posting-host="845e1f1ae6e9f7291e1aa88cfb9acb50"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:MeMAFS8IjqrW4w4O4XSdvONBI+w= sha256:XDB84SgXpge9wE8KlecOhpY3+X2EGcjs0PxPeiUl+eo=
	sha1:HNP/dvjc5S1imMsdJpsKP6EG6nU= sha256:g+kieZI2449bsmj3fflsPvehCQSXWGhh/JrQZ1Xc4FI=
In-Reply-To: <11cr2g5$q796$2@dont-email.me>
Content-Language: en-US