DocumentCode :
2136654
Title :
Memory coloring: a compiler approach for scratchpad memory management
Author :
Li, Lian ; Gao, Lin ; Jingling Xue
Author_Institution :
Sch. of Comput. Sci. & Eng., New South Wales Univ., Sydney, NSW, Australia
fYear :
2005
fDate :
17-21 Sept. 2005
Firstpage :
329
Lastpage :
338
Abstract :
Scratchpad memory (SPM), a fast software-managed on-chip SRAM, is now widely used in modern embedded processors. Compared to hardware-managed cache, it is more efficient in performance, power and area cost, and has the added advantage of better time predictability. This paper introduces a general-purpose compiler approach, called memory coloring, to efficiently allocating the arrays in a program to an SPM. The novelty of our approach lies in partitioning an SPM into a "register file", splitting the live ranges of arrays to create potential data transfer statements between the SPM and off-chip memory, and finally, adapting an existing graph-colouring algorithm for register allocation to assign the arrays in the program into the register file. Our approach is efficient due to the practical efficiency of graph-colouring algorithms. We have implemented this work in SUIF and machSUIF. Preliminary results over benchmarks show that our approach represents a promising solution to automatic SPM management.
Keywords :
SRAM chips; cache storage; graph colouring; program compilers; storage management chips; embedded processors; general-purpose compiler; graph colouring; memory coloring; off-chip memory; register allocation; register file; scratchpad memory management; software-managed on-chip SRAM; Adaptive arrays; Application software; Australia; Costs; Memory management; Partitioning algorithms; Program processors; Random access memory; Registers; Scanning probe microscopy;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Architectures and Compilation Techniques, 2005. PACT 2005. 14th International Conference on
ISSN :
1089-795X
Print_ISBN :
0-7695-2429-X
Type :
conf
DOI :
10.1109/PACT.2005.27
Filename :
1515604
Link To Document :
بازگشت