Research indexJournal article
Code pattern recognition for a retargetable optimizer
Ditu, Badea, Palanciuc and 1 other
1 Aug 2011
NobleIDark:/48914/w1/20260523/8391EE38DOI10.1109/iccp.2011.6047858
Code pattern recognition for a retargetable optimizer
Ditu, Badea, Palanciuc and 1 other · 2011 · Subscription
NobleIDark:/48914/w1/20260523/8391EE38DOI10.1109/iccp.2011.6047858
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
Peephole optimization (based on code pattern recognition and replacement) is one of the latest stages in the compiler that is primarily concerned with replacing sequences of instructions with more efficient (target-specific) instructions, and by this optimizing the executed program with regards to code size, execution speed and power consumption. Because this optimization is inherently target-specific, it is hard to design an algorithm that works in a retargetable optimizing compiler. This paper presents a global, retargetable peephole optimization engine, and gives some details on the results obtained after its integration in the compiler backend.