Article View: comp.arch
Article #534Re: Another Kick at Concertina III
From: EricP
Date: Wed, 04 Nov 2026 16:53
Date: Wed, 04 Nov 2026 16:53
122 lines
7131 bytes
7131 bytes
On 2026-Nov-03 01:07, Anton Ertl wrote: > EricP <ThatWouldBeTelling@thevillage.com> writes: >> Yes, it is not "microcode" that is the problem with >> PDP-11, VAX-780, 360/370, 8086, 68000. >> >> It is that these designs use a _single_ monolithic sequencer >> to control almost the whole machine. With just one sequencer >> they can only be performing one task at a time. >> >> The above mostly have in their cores just two sequencers, >> a simple little one to load a prefetch instruction buffer, >> and a big one to serially control everything else. >> This is similar to a single threaded program. >> >> The "risc" approach has many smaller state machines operating >> concurrently on many instructions at once. > > I don't think that's true for the MIPS R2000 and R3000. This one has > just one sequencer for the main pipeline, without interlocking, as the > name says. If there is a cache miss, the whole pipeline stops. If > there is a TLB miss, there is an exception. I think that these > processors have another sequencer for the multiply/divide unit. Each pipeline stage is roughly equivalent to a microcode state. If the instructions are simple like risc then the pipeline is simple. The microcode sequencing loop has been unrolled into stages and arranged so they can operate concurrently. Each stage's function unit are sequencers. When it receives a valid message in its input buffer, it does some transform on it, possibly consumes some resources which could cause a stall if exhausted, and hands this new output message to some subsequent stage-unit when possible. It can also send control signals to other stages. Then it listens for a new valid input message. Performing a global stall of the whole pipeline for a data cache miss is an inexpensive way to handle stalls but not the only way. With improved handshaking between the stages the pipeline can do a local stall only when it has to and compress out any bubbles in the earlier stages. > The first SPARCs allow having a dependent instruction after a load > while having a similar five-stage pipeline AFAIK. AFAIK it already > recognizes this during decoding and inserts a pipeline bubble between > the load and the dependent instruction there, and so still needs just > one sequencer, albeit a more complex one. It does not have a > multiplier or divider, so it has even fewer sequencers than the R2000. I don't have any documents on the uArch of the R2000 or first Sparc. However I treat each stage as its own sequencer, even if it initially looks simple. For example, a risc Decode stage looks like just a simple combinatorial circuit. But in my designs Decode also picks off unconditional branches early, and purges and redirects Fetch to the new path. Decode also handles interrupt synchronization, pipeline drain, and dispatch. And Decode handles single-step. > > The ARM1/2 AFAIK also has just one sequencer, except for the > load/store-multiple instruction, which has its own sequencer AFAIK; > the ordinary pipeline just stops while load/store-multiple run, so it > might have been possible to do it all in one sequencer, but probably > the design was easier to think through with separate sequencers. > > The 88100 has a pipeline with branches and joins. Maybe Mitch Alsup > can tell us how it is sequenced. > > The RS/6000 (Power 1) with its IIRC seven-chip CPU and IIRC > superscalar execution (between 1 ALU, 1 branch unit, 1 LSU, 1 FPU) > seems to have more sequencers, with lots of things going on > independently, but that's five years after the first RISCs. > > For the RISCs the instruction set design ensured that their simplest > implementations can be done with one sequencer and still have > pipelining with 3-5 stages. In each of these cases the stage waits for a valid message to arrive in its input buffer, does something in response to it, and usually outputs a valid message to some other stage. Each stage is acting like a hardware thread in a producer-consumer design. To me that makes each stage its own sequencer, even if it is simple. > > Of course, newer designs, especially OoO ones, use more sequencers. > It seems to me that their smaller feedback loops is what allows high > clock rates; the Pentium 4 tried to avoid the small feedback loops > with its replays, but that proved to be problematic for performance. > The independent sequencers of modern OoO designs also allow high IPC, > but of course in places like renaming and the reorder buffer there is > a need to process many instructions per cycle in a way that takes all > of them into account, and doing that at high clock rate is another > secret to the high IPC numbers. > >> My TTL risc-ish vax-ish has two sequencers in the fetch stage, >> one for prefetching into I-cache and loading 8-byte octets into >> the 32 byte fetch buffer, one for aligning and parsing a variable >> length instruction into the instruction buffer in 1 clock. >> There is another sequencer in the TLB for table walking. >> The initial version of the I-cache is the same as VAX-780 >> and does not have a separate sequencer for cpu cache misses, >> just one for snooping DMA and invalidating entries. >> However an updated design could add an I-cache sequencer >> to handle automatic cache prefetch. >> >> That has the potential for my Fetch stage alone to be >> performing up to 5 concurrent actions per clock. > > Yes, handling variable-width instructions on a bandwidth-limited > machine with an indpenendent instruction fetcher is a good idea, > and already early Power designs have that. > > IIRC at least the 32-bit version of the IBM 801 (and later the ROMP) > has variable-width instructions. Does it have a separate sequencer > for instruction fetch? Probably yes. > >> Horizontal microcode is VLIW > > Yes, because "is" is reflective. Historically, VLIW has been inspired > by horizontal microcode and the compilers for that microcode. > > - anton
Technical Details
Message-ID:
<nqJGS.112371$cLL5.99628@fx42.iad>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx42.iad.POSTED!not-for-mailReferences:
<1793295922-5857@newsgrouper.org> <memo.20261030050023.2644S@jgd.cix.co.uk> <6ae46bec.39391656@news.eternal-september.org> <1793385758-5857@newsgrouper.org> <ta9GS.80599$5oi8.46639@fx10.iad> <2026Nov3.070708@mips.complang.tuwien.ac.at>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx42.iad.POSTED!not-for-mail MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: EricP <ThatWouldBeTelling@thevillage.com> Subject: Re: Another Kick at Concertina III Newsgroups: comp.arch References: <1793295922-5857@newsgrouper.org> <memo.20261030050023.2644S@jgd.cix.co.uk> <6ae46bec.39391656@news.eternal-september.org> <1793385758-5857@newsgrouper.org> <ta9GS.80599$5oi8.46639@fx10.iad> <2026Nov3.070708@mips.complang.tuwien.ac.at> Content-Language: en-CA In-Reply-To: <2026Nov3.070708@mips.complang.tuwien.ac.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 122 Message-ID: <nqJGS.112371$cLL5.99628@fx42.iad> X-Complaints-To: abuse@UsenetServer.com NNTP-Posting-Date: Wed, 04 Nov 2026 16:53:39 UTC Date: Wed, 4 Nov 2026 11:53:38 -0500 X-Received-Bytes: 6899