|
|
|
|
|
by scott_s
5568 days ago
|
|
Quite the opposite, if I understand the concept. It's more trying to apply the kinds of optimizations that a human would make when reasoning about how a program actually runs. When we read code, we often think "Oh, I get it - it's just trying to do X." A good supercompiler would just emit the code to do X. I can see this coming up when you, say, make library calls in certain ways that don't need the full functionality of the algorithms. Maybe one paramater is fixed, or the sequence of the calls is really to achieve something else. The original paper is freely available off of citeseer, "The Concept of a Supercompiler": http://citeseer.ist.psu.edu/viewdoc/download;jsessionid=B373... I'm currently reading through it. I find it useful to forget the term "supercompiler," since that implies to me a "meta-compiler," which I don't think is an accurate way of describing the technique. This could be incorporated into a regular compiler, you'd just want this as the first optimization phase. (I think.) |
|
"Yet another optimizer phase" is what I'm readying here.