|
ABSTRACT
The term peephole optimization is used to mean the pattern matching and conditional replacement performed on small sections of the intermediate form.
The circular dependence between the code generation phases implies that local optimals are rarely global optimals. There are several reactions: (1) accept the local optimal, (2) develop intermediate goals whose achievement suggest global optimality, (3) retain the choices so that the decisions can be made later, (4) optimize the object code by replacing awkward or overly constrained segments of code with improved ones. Optimizing the object code has several advantages. First, code generation is greatly simplified. The code generator is allowed to forgo case analysis and utilize only a subset of the machine's instructions and addressing modes [BD88,DF84a,DF84b,DF87]. Second, a phase ordering problem often encountered in optimizations is reduced.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
All86
|
|
 |
AM87
|
|
| |
AM88
|
|
 |
AN88
|
|
| |
BD88
|
M.E. Benitez and J.W. Davidson. A portable global optimizer and linker. SIG- PLAN '88 Conference on Programming Language Design and Implementation, 23(7):329-338, July,1988.
|
| |
Cat82
|
R.G.G. Cattell. Formalization and Automatic Derivation of Code Generators. UMI Research Press, Ann Arbor, Michigan, 1982.
|
 |
Das80
|
|
 |
Dav86
|
|
| |
Dav88
|
S. Davidson. High-Level Microprogramming Languages. In S. Habib, editor, Microprogramming and Firmware Engineering Methods, Van Nostrand Reinhold, New York, NY, 1988.
|
| |
DB86
|
|
| |
DeW76
|
|
 |
DF84a
|
|
 |
DF84b
|
|
| |
DF87
|
|
 |
GF85
|
|
 |
GFH82
|
|
 |
Gur89
|
|
 |
JRS89
|
|
| |
KT79
|
J. Kim and C.J. Tan. Register Assignment Algorithms for Optimizing Microcode Compilers - Part I. Technical Report RC 7639, IBM, Computer Sciences Department, IBM T.J. Watson Research Center, Yorktown Heights, NY, May 1979.
|
| |
Lev81
|
|
 |
SDWX87
|
Bogong Su , Shiyuan Ding , Jian Wang , Jinshi Xia, Microcode compaction with timing constraints, Proceedings of the 20th annual workshop on Microprogramming, p.59-68, December 01-04, 1987, Colorado Springs, Colorado, United States
[doi> 10.1145/255305.255314]
|
| |
Veg82
|
|
 |
Wil89
|
|
| |
You88
|
J.L. Young. The Software Foundry: Almost too Good to Be True. Electronics, 47-48, January 21, 1988.
|
|