DocumentCode :
642799
Title :
Minimizing code size via page selection optimization on partitioned memory architectures
Author :
Yuan Mengting ; Xue, Chun Jason ; Chen Yong ; Li Qing´an ; Yingchao Zhao
Author_Institution :
Wuhan Univ., Wuhan, China
fYear :
2013
fDate :
Sept. 29 2013-Oct. 4 2013
Firstpage :
1
Lastpage :
10
Abstract :
For 8-bit microcontrollers, bank-switching is commonly used to increase memory capacity. The disadvantage of this technique is that bank (page) selection instructions are introduced when switching active data (program) bank. The page selection problem is to minimize the number of page selection instructions inserted. While previous efforts work on optimizing bank selection instructions for the data segment, our work focuses on minimizing page selection instructions for the program segment. Minimizing page selection instructions is a more challenging problem as the size of each procedure being allocated is affected by the number of inserted page selection instructions. In this paper, we first give a formal definition of the page selection problem, and then we formulate the problem as an Integer Linear Programming (ILP) to find the optimal solution. We introduce a tabu search heuristic algorithm, TMSEARCH, to solve the problem efficiently. The experimental results show that ILP can find optimal solutions for small-scale problems, and TMSEARCH is able to find good solutions for all benchmarks within reasonable time. Com-pared to a commercial compiler, TMSEARCH reduces total code size between 0.04% and 19.3%, and reduces page selection instructions between 24.3% and 78.7%.
Keywords :
instruction sets; integer programming; linear programming; memory architecture; minimisation; paged storage; search problems; ILP; TMSEARCH; active data program bank switching; bank page selection instructions; bank-switching; code size minimization; data segment; inserted page selection instructions; integer linear programming; memory capacity; microcontrollers; optimal solution; page selection instructions minimization; page selection optimization; page selection problem; partitioned memory architectures; small-scale problems; tabu search heuristic algorithm; word length 8 bit; Educational institutions; Heuristic algorithms; Memory architecture; Microcontrollers; Partitioning algorithms; Registers; Switches; Microcontrollers; Page Selection Problem, Bank; Partitioned Memory Architecture; ROM Allocation; switching;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Compilers, Architecture and Synthesis for Embedded Systems (CASES), 2013 International Conference on
Conference_Location :
Montreal, QC
Type :
conf
DOI :
10.1109/CASES.2013.6662516
Filename :
6662516
Link To Document :
بازگشت