Publication:
Quick Compilers Through Peephole Optimization

dc.contributor.authorWhalley, David
dc.contributor.authorDavidson, Jack
dc.date.accessioned2026-01-22T17:01:48Z
dc.date.issued1988-01-01
dc.descriptionOriginal submission date: 2013-10-11T18:20:49Z
dc.description.abstractA compiler can be quickly realized by translating the abstract machine operations to target machine operations. The problem with these compilers is that they trade execution efficiency for portability. Typically the code emitted by these compilers runs two to three times slower than the code generated by compilers that employ sophisticated code generators. This paper describes a C compiler that uses abstract machine modeling to achieve portability. The emitted target machine code is improved by a simple, classical rule-directed peephole optimizer. Our experiments with this compiler on four machines show that a small number of very general hand-written patterns (under 40) yields code that is comparable to the code from compilers that use more sophisticated code generators. As an added bonus. compilation time on some machines is reduced by 10 to 20 percent. Note: Abstract extracted from PDF file via OCR
dc.identifier4t64gn17g
dc.identifier.citationDavidson, Jack, and David Whalley. "Quick Compilers Through Peephole Optimization." University of Virginia Dept. of Computer Science Tech Report (1988).
dc.identifier.doi10.18130/V3PN36
dc.identifier.urihttps://doi.org/10.18130/V3PN36
dc.identifier.urihttps://libraopen.library.virginia.edu/handle/item/7234
dc.languageEnglish
dc.language.isoen
dc.publisherUniversity of Virginia, Department of Computer Science
dc.rightsAll rights reserved (no additional license for public reuse)
dc.titleQuick Compilers Through Peephole Optimization
dc.typeTechnical Report
dspace.entity.typePublication
relation.isAuthorOfPublicationa12c5703-8255-4680-8c24-bf444f5cda87
relation.isAuthorOfPublication8a6c4fdf-cd0c-4222-8052-7b8756892d3f
relation.isAuthorOfPublication.latestForDiscoverya12c5703-8255-4680-8c24-bf444f5cda87

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR-88-14.pdf
Size:
991.41 KB
Format:
Adobe Portable Document Format

Collections