🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #1095

Using the on-chip RAM as registers

#1095
From: Jeremy Webber
Date: Tue, 13 Nov 1990 22:52
28 lines
1781 bytes
Something I've found problematic with current Transputers is the idea of "fast
on-chip RAM", not the RAM itself, but making optimal use of it on a system with
maybe 2M or 4M of code and data.  Relying on the programmer to work out which
functions/data to place there is a lot of work, and never likely to be as
optimal as implementing the RAM as an on-chip cache, handled by hardware,
instead.

It struck me that one way a compiler could make better use of the on-chip RAM
would be to treat the first few words like registers, and use standard
register-allocation techniques to put expression temps and currently-accessed
variables into it.  By allocating different addresses for each process, context
switch overhead could be eliminated when using this technique.

Are there any compilers (particularly for C) which do this?  Does anyone else
have thoughts as to what to do with the RAM?

As an aside to Inmos: will the H1 have an on-chip cache rather than on-chip
RAM?  It would be a real performance win.

Cheers,
	-jeremy
--
--
Jeremy Webber			   ACSnet: jeremy@chook.ua.oz
Digital Arts Film and Television,  Internet: jeremy@chook.ua.oz.au
3 Milner St, Hindmarsh, SA 5007,   Voicenet: +61 8 346 4534
Australia			   Papernet: +61 8 346 4537 (FAX)
Technical Details
Message-ID: <JEREMY.90Nov14092213@chook.ua.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!sirius.ucs.adelaide.edu.au!sirius!jeremy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!sirius.ucs.adelaide.edu.au!sirius!jeremy
From: jeremy@cs.adelaide.edu.au (Jeremy Webber)
Newsgroups: comp.sys.transputer
Subject: Using the on-chip RAM as registers
Message-ID: <JEREMY.90Nov14092213@chook.ua.oz.au>
Date: 13 Nov 90 22:52:13 GMT
Sender: news@ucs.adelaide.edu.au
Organization: Digital Arts Film and Television
Lines: 28
Nntp-Posting-Host: chook.ua.oz.au