🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #918

Re: Very Depressing Video

#918
From: BGB
Date: Tue, 24 Nov 2026 05:07
78 lines
4356 bytes
On 11/23/2026 8:25 PM, Lawrence D’Oliveiro wrote:
> On Tue, 24 Nov 2026 01:39:58 GMT, MitchAlsup wrote:
> 
>> When memcopy() is an instruction, small machines can run at
>> cache-width, and large machines can run at cache-width × ports ...
>>
>> When memcopy is for(i = 0; i < count; i++ ) to[i] = from[i]; your
>> vVM unit can run it at SIMD-widths {say 512-bits copied per cycle}.
> 
> Do SIMD instructions have access to wider or faster memory channels
> than regular CPU instructions do?

This would depend a lot on the target.


Can note that in my current CPU core:
   64-bit loads/stores are freely misaligned.
   128-bit loads/stores normally require a 64-bit alignment.
     A misaligned variant is possible, but has a higher resource cost.
     So, HW support for misaligned 128-bit is assumed optional.

Though, in this case, it is partly because the free 64-bit load/store 
works in terms of an internal 128-bit window for extract/insert, and the 
cheapest way to do 128-bit load/store is simply to bypass the 
extract/insert part.

Meanwhile, misaligned 128-bit effectively requires working with a 
256-bit window internally.

Though, in this case, its primary use is as a load/store pair 
instruction for function prologs/epilogs, with SIMD use as secondary.

There are not currently any wider paths available.


In my case, the internal ringbus in my designs was 128-bit wide.

This is an uncommon approach though, more popular in the FPGA space 
being to use 32 or 64-bit wide FIFO-driven hub-and-spoke busses.

Where, say, the CPU sends requests to read/write 32-bits at a time from 
a given address. Then people try to prioritize minimizing 
request/response latency over said bus (because otherwise, it sucks).

As noted, I took a different approach:
128 bits data + address + control tags.

Then messages move along the but at one position per clock cycle, and 
components deal with messages that apply to them (removing messages, 
replacing them with a response, or adding new messages during "idle" slots).

Then there were a few "shortcut paths" or "pinches" to reduce average 
case latency by avoiding sending through parts of the ring they don't 
need to travel through.


 From some past things I had seen, it seemed also both Intel and IBM had 
used similar bus designs in their CPUs.

Though, usually they had used two counter-rotating rings rather than a 
single ring (say, a request ring traveling one way, and a response ring 
traveling the other), but two rings would cost more than one ring.


Well, rather than being like:
   Well, imma request 32 bits from this address;
   Now I wait for a response to come back;
   Now, request 32-bits from the next address;
   And wait for the response;
   ...

Or they get fancy and allow for sequential bursts with flow-rate-control 
signaling.


I don't feel that bad about going against the trend here.

Technical Details
Message-ID: <11e363b$2h8g2$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <6aff95fd.2756312@news.eternal-september.org> <6b02f61c.2940750@news.eternal-september.org> <11dvql5$1cfvl$1@dont-email.me> <6b038fcc.42284937@news.eternal-september.org> <11e28vv$27g58$1@dont-email.me> <1795484398-5857@newsgrouper.org> <11e2sjm$2ejb2$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: BGB <cr88192@gmail.com>
Newsgroups: comp.arch
Subject: Re: Very Depressing Video
Date: Mon, 23 Nov 2026 23:07:53 -0600
Organization: A noiseless patient Spider
Lines: 78
Message-ID: <11e363b$2h8g2$1@dont-email.me>
References: <6aff95fd.2756312@news.eternal-september.org>
 <6b02f61c.2940750@news.eternal-september.org> <11dvql5$1cfvl$1@dont-email.me>
 <6b038fcc.42284937@news.eternal-september.org>
 <11e28vv$27g58$1@dont-email.me> <1795484398-5857@newsgrouper.org>
 <11e2sjm$2ejb2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 24 Nov 2026 05:07:56 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2662914"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+Gs1G2d1iS0DYU/qARvvC0OPu7YEffO0A="; posting-host="0134f31a5b1a20288131fad378fafe1d"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:sYxUrH6PPR/L0iOoA66ANoz4gko= sha256:zx7fYw0N5s6t0WV3BttRO3V/uDrcuqJU5lQqPGlh1CY=
	sha1:18+pHIkP9zelgJC+JPARgX+8Zw0= sha256:jS8SYMZsw31yPJO9aEU3H207Z7te6mAuSIQeJHFeXa0=
In-Reply-To: <11e2sjm$2ejb2$1@dont-email.me>
Content-Language: en-US