🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51868

Can anyone make GCC compile from textual RTL?

#51868
From: Sam Bushell
Date: Tue, 16 Mar 1993 00:14
36 lines
2011 bytes
Greetings.

My Honours project is to investigate native code generation for a
language called Napier88.  Previously, Napier88 has been compiled into
a "byte code" which was interpreted byte-by-byte by a run-time system.

I would like to use the "back end" of GNU CC to take some of the code
generation load: I want to convert an existing Napier88 compiler to
produce RTL, the internal register transfer language, and use the GCC
back end to convert this to assembly language.

However, the format of Napier88 objects in memory is quite complex, so
it would be very hard to produce RTL in the "C structural form" used
inside the compiler.  Instead, I will need to produce RTL in "textual
form" (as found in GCC's debugging dumps and machine description
files), and have GCC read that and continue from there.


So: I am looking for alterations to GCC that would let it "compile
from RTL."  Such extensions would need to parse textual RTL into
structural form in such a way that the remaining GCC passes could all
run happily.

Do such things exist?

I would be credibly grateful if anyone can tell me of any work that
has been done towards making GCC accept textual RTL as input.


Thank you for your time.

Sam Bushell
--
Sam Bushell					     jsam@cs.adelaide.edu.au

     Honours Computer Science, University of Adelaide, South Australia
Technical Details
Message-ID: <9303150833.AA08113@barney.teaching.cs.adelaide.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!teaching.CS.adelaide.EDU.AU!jsam

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,97502a1691985898,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-15 16:25:10 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!teaching.CS.adelaide.EDU.AU!jsam
From: jsam@teaching.CS.adelaide.EDU.AU (Sam Bushell)
Newsgroups: gnu.gcc.help
Subject: Can anyone make GCC compile from textual RTL?
Date: 15 Mar 1993 19:14:39 -0500
Organization: GNUs Not Usenet
Lines: 37
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9303150833.AA08113@barney.teaching.cs.adelaide.edu.au>