Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deoptimizers?

13 views
Skip to first unread message

Mitch Bradley

unread,
Feb 9, 1991, 2:36:44 AM2/9/91
to
> If you can write optimizers, you can write deoptimizers.

True to a degree... At some level, optimization involves loss of
information about the source text. Simple optimizations like peephole
optimizations to remove redundant push/pop pairs are easy to "undo", but
code motion and common subexpression removal can be very difficult to
"deoptimize".

Of course, the stack tends to impose an ordering constraint that makes
the more "studly" optimizations somewhat impractical, compared to the
data flow optimizations that can be done for code generated to a register-
transfer model.

Mitch

Don Hopkins

unread,
Feb 13, 1991, 2:10:56 AM2/13/91
to
Isn't the inverse of an Optimizer called a Pessimizer?

-Don

0 new messages