Back to Search Start Over

Automatic inference and fast interpretation of peephole optimization rules†

Authors :
Christopher W. Fraser
Jack W. Davidson
Source :
Software: Practice and Experience. 17:801-812
Publication Year :
1987
Publisher :
Wiley, 1987.

Abstract

Peephole optimizers that are driven by machine descriptions are generally more thorough but less efficient than their classical rule-directed counterparts. This paper describes a system that addresses this shortcoming. It automatically infers rules by tracking the behaviour of a description-directed optimizer on a testbed, and it adapts a classical optimizer to interpret these rules efficiently. Experiments show that an easily constructed testbed can generate rules similar to those in a large hand-written rulebase. This software forms part of a compiler that simplifies retargeting by substituting peephole optimization for case analysis.

Details

ISSN :
1097024X and 00380644
Volume :
17
Database :
OpenAIRE
Journal :
Software: Practice and Experience
Accession number :
edsair.doi...........8c67ff53f1e777ae2526d23330c0cd1d
Full Text :
https://doi.org/10.1002/spe.4380171104