🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.arch
Article #2882

Re: Delayed Loads

#2882
From: Hank Cohen
Date: Thu, 18 Sep 1986 20:50
28 lines
2154 bytes
In article <5100133@ccvaxa> aglew@ccvaxa.UUCP writes:
>
>There has been some discussion of delayed branches in this newsgroup;
>can anybody say anything useful about delayed load/stores? Ie. memory
>access functions that are defined to work the same way as delayed
>branches, not to take effect until after a few more instructions.
>
The benefit of such an approach is similar to that of delayed 
branches.  In a pipelined processor the result of an operation is not
available immediately so if the next instruction in the pipe requires the
result then the pipeline must be stopped until the result is ready.  This
interlock logic tends to significantly complicate the design of the CPU
and slows down execution times.  Performance of pipelined processors can be
improved by generating code that does not generate data dependent pipeline
interlocks.  Presumably microprocessors without pipeline interlocks have
delayed stores as well as delayed branches and for the same reason.

An even thornier problem arises if you allow self modifying code to be run
on your machine. i.e. You build a real Von Neuman machine.  The problem of
detecting stores into the instruction stream of  a pipelined processor is
even more difficult than detecting data interdependencies.  On the Amdahl
470 v8 (the pipelined processor that I am most familiar with) the attempt
is not even made to detect stores into instructions that are already in
execution.  All that they try to do is see if a store is "close" in  which
case the entire pipeline is flushed and serialized.
	
	Illigitimi non carborundum
		Hank Cohen
Technical Details
Message-ID: <1115@masscomp.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!clyde!masscomp!hank
References: <5100133@ccvaxa>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!clyde!masscomp!hank
From: hank@masscomp.UUCP (Hank Cohen)
Newsgroups: net.arch
Subject: Re: Delayed Loads
Message-ID: <1115@masscomp.UUCP>
Date: Thu, 18-Sep-86 16:50:04 EDT
Article-I.D.: masscomp.1115
Posted: Thu Sep 18 16:50:04 1986
Date-Received: Sat, 20-Sep-86 01:48:51 EDT
References: <5100133@ccvaxa>
Reply-To: hank@masscomp.UUCP (Hank Cohen)
Organization: Masscomp - Westford, Ma
Lines: 28
Summary: Pipeline delays