🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #343

Re: GNU C for the transputer

#343
From: Hubert Matthews
Date: Fri, 20 Oct 1989 10:35
20 lines
1529 bytes
One of the problems with porting a non-transputer C compiler to the
transputer is the transputer's evaluation stack.  One can simulate
registers using on-chip RAM, in which case the evaluation stack is
barely used and all of the loads and stores to and from RAM slow down
expression evaluation a lot.  If, on the other hand, one uses the
stack for expression evaluation, then one has to be very careful about
stack overflow (the stack is only three elements deep).  A peephole
optimiser would clean up a lot of the loads and stores associated with
the first approach, but the second approach would need a quite
different code generation algorithm.

Would someone who has written for the transputer or ported any form of
compiler to the transputer please comment on the feasability or
difficulty of these two approaches, or tell us what transputer
compilers really do.

-- 
Hubert Matthews      ...helping make the world a quote-free zone...
hjm@cernvax.cern.ch   hjm@vxomeg.decnet.cern.ch    ...!mcvax!cernvax!hjm
Technical Details
Message-ID: <1126@cernvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!cernvax!hjm
References: <8910192040.AA20132@topologix.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!cernvax!hjm
From: hjm@cernvax.UUCP (Hubert Matthews)
Newsgroups: comp.sys.transputer
Subject: Re: GNU C for the transputer
Message-ID: <1126@cernvax.UUCP>
Date: 20 Oct 89 10:35:33 GMT
References: <8910192040.AA20132@topologix.com>
Reply-To: hjm@cernvax.UUCP (Hubert Matthews)
Organization: CERN European Laboratory for Particle Physics, CH-1211 Geneva, Switzerland
Lines: 20