|Three Address Code firstname.lastname@example.org (2000-09-11)|
|Re: Three Address Code email@example.com (Rainer Leupers) (2000-09-17)|
|Eff cient 3-address code in C? (was Re: Three Address Code) firstname.lastname@example.org (Travers Naran) (2000-09-21)|
|From:||"Travers Naran" <email@example.com>|
|Date:||21 Sep 2000 18:09:14 -0400|
|Organization:||Look Communications - http://www.look.ca|
> I would like to know if Three Address Code can be implemented in some
> way other then quadruple or triples.
"Rainer Leupers" <firstname.lastname@example.org> wrote in message
> In our C compiler platform LANCE, the three address code intermediate
> representation (IR) is represented in the form of low-level C
> The advantage of this is that the IR can be compiled
> just like the original C source. This feature can be
> used for validation of the C frontend and
> the IR optimization passes.
> I attach a small example that illustrates the translation
> from C code to three address code.
Now *I* have a question:
I've tried this in the past, but have not been terribly impressed with
the quality (or efficiency) of the generated machine code. This was
8+ years ago. Does anybody have any experience with the practicality
of using C as a 3-address code target?
I do like the idea of using it to _debug_ 3-address code generation, though.
Travers Naran: Computer Programmer & P/T Meddler In Time & Space
New Westminster, British Columbia, Canada, North America, Earth, yada, yada
Return to the
Search the comp.compilers archives again.