Article View: comp.arch
Article #692Re: vector length CSR?
From: Stephen Fuld
Date: Fri, 13 Nov 2026 16:36
Date: Fri, 13 Nov 2026 16:36
56 lines
3795 bytes
3795 bytes
On 11/13/2026 7:28 AM, EricP wrote: > On 2026-Nov-12 15:43, Robert Finch wrote: snip >> IDK how the belt works. Sounds like a familiar architecture with a >> conveyor belt of operands bolted on? When does the belt advance? At >> one point I was trying to re-organize the re-order buffer like a belt. >> Queueing at one end and committing at the other. The idea was to use a >> shift register for the re-order buffer. > > Its like an accumulator register in that it is the default result output > register > but it has multiple slots that logically act like a shift register array. > As each new result is output the one at the far end falls off the belt. > Like a regular register file it is logically committed when a result is > written out. Yes. I look at it as sort of a fixed length stack (put new elements at the top an push all other elements down) with the enhancement that you can address, for reading only, stack elements other than the top. > Internally it can be implemented as a shift register, or as a circular > buffer, > or as a fixed physical register file with a circular renamer. IIRC, the Mill implements it using the output buffers of each functional unit plus each having a "position register" of log2 (number of FUs) bit register that gives that register's position within the stack. Each instruction sets the register corresponding to that instruction to TOS and increments all the other position registers. No actual separate register set and no shifting. > The difference is in the programming model. > A regular scalar RF (SRF) uses absolute register number addressing > while a belt register file (BRF) uses relative addressing. Yes. > > With SRF when you write to R1 and that's where the result stays. > If you want to retain R1 for a later loop iteration then you have to > copy it > to R2 or unroll a loop and assign a different register to each iteration. > > With BRF each result is saved to belt[0] and older ones shift up. > If the belt is 32 slots then belt[31] falls off and is lost unless saved > first. Yes, although with the Mill (IIRC), the "shift" is logical not physical. -- - Stephen Fuld (e-mail address disguised to prevent spam)
Technical Details
Message-ID:
<11d7ea6$17qtt$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> <V_oJS.3483$453.1577@fx23.iad> <11d58dp$9i0o$1@dont-email.me> <_0GJS.4474$3J2.869@fx02.iad>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: Stephen Fuld <sfuld@alumni.cmu.edu.invalid> Newsgroups: comp.arch Subject: Re: vector length CSR? Date: Fri, 13 Nov 2026 08:36:20 -0800 Organization: A noiseless patient Spider Lines: 56 Message-ID: <11d7ea6$17qtt$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> <V_oJS.3483$453.1577@fx23.iad> <11d58dp$9i0o$1@dont-email.me> <_0GJS.4474$3J2.869@fx02.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 13 Nov 2026 16:36:23 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1305533"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183fmtoG1/Bhfga1V6uq8AsuEr6Z4IUt5w="; posting-host="8e585512034e48cbb5a4391325906585" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Kg7bNReGUWgUb0aWSJjJhlBw4Vs= sha256:I6O4UgNXS5a10l8rlXXbTnnRIOkQOk8SAiUXTMA4HC8= sha1:YBszZUrK8IBD5UEm5Da4sj+NGOA= sha256:2KjfSeDSdOj/dAaG3ABwMHIeIGKvXfZlI2JnCPrYBj0= Content-Language: en-US In-Reply-To: <_0GJS.4474$3J2.869@fx02.iad>