Title :
Code pattern recognition for a retargetable optimizer
Author :
Ditu, Bogdan ; Badea, Dragos ; Palanciuc, Virgil ; Tapus, Nicolae
Author_Institution :
CodeWarrior Compiler, Freescale Semicond., Bucharest, Romania
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.
Keywords :
optimisation; optimising compilers; pattern recognition; code pattern recognition; peephole optimization; power consumption; program execution; retargetable optimizer; retargetable optimizing compiler; retargetable peephole optimization engine; Benchmark testing; Context; Engines; Optimization; Pattern matching; Search problems; Semantics; global peephole optimization; pattern matching; retargetable peephole optimizer;
Conference_Titel :
Intelligent Computer Communication and Processing (ICCP), 2011 IEEE International Conference on
Conference_Location :
Cluj-Napoca
Print_ISBN :
978-1-4577-1479-5
Electronic_ISBN :
978-1-4577-1481-8
DOI :
10.1109/ICCP.2011.6047858