Title :
An embedded cross-assembler optimization method
Author :
Liu, Songchao ; Tan, Huailiang ; Huang, Lei
Author_Institution :
Coll. of Inf. Sci. & Eng., Hunan Univ., Changsha, China
Abstract :
In traditional peephole optimization, the size of the sliding window is fixed or limited, which makes it difficult to match and optimize instructions which are not lexically adjacent (logically adjacent). In this paper, a novel method for peephole optimization is proposed by using regular expression. The new way does not set the size of the sliding window and can easily identify instructions which are not lexically adjacent. The experimental results show that the new way improves the optimization capability of the cross-assembler.
Keywords :
embedded systems; optimisation; program compilers; embedded cross-assembler optimization; logically adjacent; peephole optimization; sliding window; Optimization; Registers; Reliability; cross-assembler; logically adjacent instructions; peephole optimization; regular expression;
Conference_Titel :
Computer Science and Information Processing (CSIP), 2012 International Conference on
Conference_Location :
Xi´an, Shaanxi
Print_ISBN :
978-1-4673-1410-7
DOI :
10.1109/CSIP.2012.6308935