🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #21532

Re: Register usage

#21532
From: Allen J. Baum
Date: Fri, 02 Jun 1989 17:25
25 lines
1476 bytes
[]
>In article <479@unicads.UUCP> les@unicads.UUCP (Les Milash) writes:
>
>Somebody recently also pointed out that the INMOS Transputer can c-switch
>in .6uS.  The way they do it is sort of like this but wierder;
>and it's different-but-related wrt this thread:
>there are 6 registers, a PC, a FP, and a 3-or-4 deep hardware stack.
>all local variables are in "memory", and they have fast FP+short
>offset addressing mode.
>
>remember the TI 99*?  before my time, but it's a memory-to-memory machine,
>with the "registers" being memory-mapped, FP relative.

The ATT CRISP chip is similar; its actually a memory-memory architecture, 
where all references are relative to a stack pointer. The top 32 entries are
cached in a Tos-of-Stack cache. This is like a register-window, with a
granularity of one register (i.e. window slides by 1 min, instead of fixed 8),
and with the advantage that you can address into the registers.

A context switch can be extremely fast; just change the stack pointer. Of 
course, then all accesses to the 'registers' are cache misses.

--
		  baum@apple.com		(408)974-3385
{decwrl,hplabs}!amdahl!apple!baum
Technical Details
Message-ID: <32209@apple.Apple.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!apple!baum

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!apple!baum
From: baum@Apple.COM (Allen J. Baum)
Newsgroups: comp.arch
Subject: Re: Register usage
Message-ID: <32209@apple.Apple.COM>
Date: 2 Jun 89 17:25:22 GMT
Reply-To: baum@apple.UUCP (Allen Baum)
Organization: Apple Computer, Inc.
Lines: 25