🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #685

Re: vector length CSR?

#685
From: Terje Mathisen
Date: Fri, 13 Nov 2026 14:19
35 lines
2955 bytes
George Neuner wrote:
> WRT the Mill, I think people here may be missing that it supported
> short-vector-SIMD, and that a vector operand on its belt was a single
> element [of whatever width] - not a bunch of scalars that magically
> would be operated on together.

Yes and no, see below.
> 
> According to Ivan, the Mill's instruction set supported quad FP and
> 128-bit short vector SIMD.
> [Similar width as Intel's SSE2, though SSE_ doesn't do quad FP.]
> 
> He spoke about the potential for [more lanes] wider SIMD and made
> clear that, whatever widths were supported, the "operands" still would
> be treated as single belt elements.
> 
The real magic sauce is the fact that belt operands carries metadata, 
including not just byte/short/int/long/float/double/etc designators, but 
also a vector vs scalar boolean, as well as None and NAR (Not A Result, 
similar to NaN but even more powerful).

This means that Mill only needs a single ADD instruction, it 
automagically handles vector/scalar/multiple element sizes based on 
those metadata bits.

If you want to treat 16 bytes, loaded as 16 unsigned bytes, as if they 
were 8 int16_t's, then you need to convert the entry.

Terje

PS. Expect to see Mill return to being generally visible in the near future.

-- 
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"
Technical Details
Message-ID: <11d768o$t2b3$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!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> <11crh64$ug0s$1@dont-email.me> <11crili$ur2d$1@dont-email.me> <11crrs5$118ll$1@dont-email.me> <11crsp0$11gka$1@dont-email.me> <YQsIS.6524$wY2.2685@fx24.iad> <2026Nov10.100317@mips.complang.tuwien.ac.at> <gq0dflh8afjsm6u6jqqihfd047eb7n1mu1@4ax.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Terje Mathisen <terje.mathisen@tmsw.no>
Newsgroups: comp.arch
Subject: Re: vector length CSR?
Date: Fri, 13 Nov 2026 15:19:04 +0100
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <11d768o$t2b3$1@dont-email.me>
References: <11cpqih$acf5$1@dont-email.me> <11cr2g5$q796$2@dont-email.me>
 <11crh64$ug0s$1@dont-email.me> <11crili$ur2d$1@dont-email.me>
 <11crrs5$118ll$1@dont-email.me> <11crsp0$11gka$1@dont-email.me>
 <YQsIS.6524$wY2.2685@fx24.iad> <2026Nov10.100317@mips.complang.tuwien.ac.at>
 <gq0dflh8afjsm6u6jqqihfd047eb7n1mu1@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 13 Nov 2026 14:19:04 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="952675"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX191r6c0r7GDtWe9Dr5QvYqbzipdjWW6byuvzuWbg7s0lQ=="; posting-host="9ed57261a41f820030cb108a4dfd4871"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101
 Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock: sha1:+scNuQg75ItS4mYbDHltWIBECoA= sha256:/UZsfACJV+uXdP7aBRU+8bAYsLYbXMwDI/Pa5XdCOOw=
	sha1:lZrrhphXkcdtzCvIj+Yxzk6vbS0= sha256:x2Yr8oKuc5vmgKkhI4nfrK0AufMF0ptGnWPxC6Wdytg=
In-Reply-To: <gq0dflh8afjsm6u6jqqihfd047eb7n1mu1@4ax.com>