Article View: comp.arch
Article #627Re: vector length CSR?
From: MitchAlsup
Date: Tue, 10 Nov 2026 19:43
Date: Tue, 10 Nov 2026 19:43
78 lines
3712 bytes
3712 bytes
Stephen Fuld <sfuld@alumni.cmu.edu.invalid> posted:
> On 11/8/2026 3:17 PM, George Neuner wrote:
> > On Sun, 8 Nov 2026 10:03:01 -0500, Robert Finch <robfi680@gmail.com>
> > wrote:
>
> Big snip
>
> >> Vectors are supported using the GPR register
> >> file by hiding the issuing of multiple instructions behind the scenes
> >> and relying on parallelism in the OoO design.
>
> Good.
>
> >> How vectors are supported in Qupls may need re-thinking.
>
> Agreed.
>
> big snip
>
>
> > Note that I'm primarily a software person. And I don't know anything
> > about your particular design. My own musings follow. Feel free to
> > ignore them as I only can consider the problem from the POV of using
> > the CPU.
>
> I am in the same position.
>
> > I understand that you want to stream vectors through your CPU, using
> > your general registers to do the processing. Sounds similar to what
> > Mitch is trying to achieve with his "My 66000".
> Yes, although he is talking about various "configuration" registers for
> things like vector length, element size, etc. which My 66000's VVM
> doesn't need.
The LOOP instruction deals with the looping characteristics
{iteration scheduling}.
The VEC. instruction deals with the boundary of the loop
{entering and exiting}
There are no <SW visible> machine control registers involved.
> > Depending on how many sources (args) per instruction, and whether you
> > have only reg->reg or memory loadops, and whether you have full length
> > instruction constants, it seems that vector operations are going to
> > require 1 to 3 registers per element.
> > [If you can fix the number of registers per element, that will help.]
> >
> > Regardless of how many registers (or names) you have, undoubtedly
> > there will be vectors that are too long to handle without looping, and
> > there will be vectors whose lengths are not integer multiples of
> > however many elements an iteration can do in parallel.
> > [You always can fall back on 1 element per iteration.]
>
> All issues that simply go away with VVM. Or at least "go away" for the
> programmer. The hardware must still handle them, though.
And the compiler. If compiler can find:
label:
inst1
inst2
...
ADD
CMP
BC CND,label
with no CALLs in the loop, then compiler can vectorize the loop--
even in the face of memory aliasing, loop carried dependencies, ...
No exotic vectorization analysis needed.
> > The question is how smart you want your CPU to be.
>
> Yes. I don't know how much "smarts" VVM requires in the hardware.
An installation sequencer that looks for certain patterns and
setup a 2D rename process {1D is typical, 2D is iteration}.
Technical Details
Message-ID:
<1794339817-5857@newsgrouper.org>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!newsgrouper.org!.POSTED!not-for-mailReferences:
<11cpqih$acf5$1@dont-email.me> <sgu0flpndaqltpdbft40fghmi7vk78q2hs@4ax.com> <11cq2v7$dh5b$1@dont-email.me> <8jk1fl182pskj3fsmp4ju6qf420pgl0htg@4ax.com> <11csull$1ef6e$1@dont-email.me>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!newsgrouper.org!.POSTED!not-for-mail From: MitchAlsup <user5857@newsgrouper.org.invalid> Newsgroups: comp.arch Subject: Re: vector length CSR? References: <11cpqih$acf5$1@dont-email.me> <sgu0flpndaqltpdbft40fghmi7vk78q2hs@4ax.com> <11cq2v7$dh5b$1@dont-email.me> <8jk1fl182pskj3fsmp4ju6qf420pgl0htg@4ax.com> <11csull$1ef6e$1@dont-email.me> Date: Tue, 10 Nov 2026 19:43:37 GMT Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <1794339817-5857@newsgrouper.org> Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857 Injection-Date: Tue, 10 Nov 2026 19:43:37 GMT User-Agent: Newsgrouper/0.9.0