|[16 earlier articles]|
|Re: Intermediate Representation email@example.com (1990-08-13)|
|Re: Intermediate Representation firstname.lastname@example.org (1990-08-13)|
|Re: Intermediate Representation email@example.com (Eric Muller) (1990-08-14)|
|Re: Intermediate Representation pd@complex.Eng.Sun.COM (1990-08-15)|
|Re: Intermediate Representation firstname.lastname@example.org (1990-08-18)|
|Re: Intermediate Representation email@example.com.OZ.AU (1990-08-20)|
|intermediate representation firstname.lastname@example.org (1991-02-20)|
|Re: intermediate representation email@example.com (1991-02-22)|
|Re: intermediate representation firstname.lastname@example.org (1991-02-23)|
|Re: intermediate representation email@example.com (1991-02-26)|
|Re: intermediate representation firstname.lastname@example.org (1991-02-27)|
|Re: intermediate representation email@example.com (1991-03-04)|
|Keywords:||question, optimize, design, analysis|
|Date:||Wed, 20 Feb 91 21:23:33 -0500|
I am taking a compiler seminar course that emphasizes the back end
optimization issues. In order to get hands-on experience, I would like to
practice applying various optimization techniques on the intermediate
representation produced by the front end. (I have not decided on the
front end, yet. I might write one or pick up one and modify.) At this
point, I am looking for intermediate representations that I can play with.
So, my first question is: Are there well documented (and, hopefully,
state-of-the-art) definitions of intermediate representations available?
How can I get them? (Does the RTL that GCC uses count as one such IR?)
Actually, my fellow students and I have taken a look at the RTL dump
produced by GCC. To our surprise, the RTL dump showed strong dependency
on the target machine even at the earliest stage of optimization.
The RTL dump on SPARC looked very different from that on Sun3 workstation.
We had expected that the machine dependency would show up at much later
stage and that we would be able to try optimization with RTL without worrying
about machine dependencies.
So, my second question is: Is it generally expected for an intermediate
representation to be machine dependent? How far toward the end of code
generation phase can machine dependencies be prevented from showing up?
Return to the
Search the comp.compilers archives again.