🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.transputer
1 messages
1 total messages Started by Andy Pfiffer Thu, 30 Jun 1988 13:39
Re: GNU C compiler
#2110
Author: Andy Pfiffer
Date: Thu, 30 Jun 1988 13:39
26 lines
1333 bytes
I took a look at GNU C and making a code generator for Transputers late last
year.  Unfortunately (it may be much better now), the GNU C compiler thinks
in terms of registers and the Transputer doesn't have registers like other
"conventional" microprocessors like a 680x0.

I suppose one could put together a code generator very quickly that was
purely memory-to-memory transfers, but that would be very ineffcient on
a Transputer.

The other immediate alternative that came to mind was using the first 16
words off the workspace pointer as "registers."  That would greatly
improve the quality of the code, but then great pains would have to be taken
to insure that the 3 deep register stack never overflowed in the midst of
calculating an expression.



	Porting away,

	Andy


--
Andy Pfiffer			  Topologix, Inc. (303) 421-7700
Trillium Diving Team              4860 Ward Road / Denver, CO 80033
            "...that's the way a Transputer works, right?"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads