Article View: comp.arch
Article #798Re: vector length CSR?
From: Terje Mathisen
Date: Tue, 17 Nov 2026 20:44
Date: Tue, 17 Nov 2026 20:44
60 lines
4095 bytes
4095 bytes
George Neuner wrote: > On Fri, 13 Nov 2026 15:19:04 +0100, Terje Mathisen > <terje.mathisen@tmsw.no> wrote: > >> 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. > > Yes, but not what I was referring to. > > I'm paraphrasing, but Ivan said that if someone wanted [to pay for] a > Mill with, e.g., multiple 1024-bit SIMD units, he'd be happy to give > it to them. > > He also said "the belt holds operands" - more or less a direct quote - > and we know the belt basically is a set of dynamically renamed latch > registers, that means that: if there are 1024-bit wide vector units, > then there must be 1024-bit wide operand values. Right. > > And, of course, also operands of whatever other widths are supported. Every belt element is of a fixed size for a given implementation, and for vector operands, the full width is always used. For scalar, only the first (low order/LE) 8/16/32/64 bits are actually used, the rest is carry-on luggage which never produce any visible results.I don't remember exactly but I would assume any attempt to access undefined parts will either trap or result in None. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
Technical Details
Message-ID:
<11dieai$pa10$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-mailReferences:
<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> <11d768o$t2b3$1@dont-email.me> <dn9pfl5lj8pqh0cqb4lhb5dbdt5u234diq@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: Tue, 17 Nov 2026 21:44:04 +0100 Organization: A noiseless patient Spider Lines: 60 Message-ID: <11dieai$pa10$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> <11d768o$t2b3$1@dont-email.me> <dn9pfl5lj8pqh0cqb4lhb5dbdt5u234diq@4ax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 17 Nov 2026 20:44:03 +0000 (UTC) Injection-Info: dont-email.me; logging-data="829472"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xpIjHLkIwPAkHVjhGIUG5LbMEK6p8RY7TjwLE/CW3dw=="; posting-host="69a1c346dd6182348554898af5d2f98e" 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:oPf8Y6hbDhPPZQo24n/WZJmwmaQ= sha256:jWZ1VUKMLdyXmVVhrvAlbzovr7pMFjUWvFCUVHQqBBY= sha1:YDN2ikQmLKzLRJdQF4GYjxudQKs= sha256:RE06RnqVyc+953zynQGN3ZzAB18tYQtN7E+pXe/rkuI= In-Reply-To: <dn9pfl5lj8pqh0cqb4lhb5dbdt5u234diq@4ax.com>