DocumentCode
1405291
Title
DMA++: On the Fly Data Realignment for On-Chip Memories
Author
Vujic, Nikola ; Cabarcas, Felipe ; Gonzalez, Marc ; Ramirez, Alex ; Martorell, Xavier ; Ayguade, Eduard
Author_Institution
Barcelona Supercomput. Center, Univ. Politec. de Catalunya, Barcelona, Spain
Volume
61
Issue
2
fYear
2012
Firstpage
237
Lastpage
250
Abstract
Multimedia extensions based on Single-Instruction Multiple-Data (SIMD) units are widespread. They have been used, for some time, in processors and accelerators (e.g., the Cell SPEs). SIMD units usually have significant memory alignment constraints in order to meet power requirements and design simplicity. This increases the complexity of the code generated by the compiler as, in the general case, the compiler cannot be sure of the proper alignment of data. For that, the ISA provides either unaligned memory load and store instructions, or a special set of instructions to perform realignments in software. In this paper, we propose a hardware realignment unit that takes advantage of the DMA transfers needed in accelerators with local memories. While the data are being transferred, it is realigned on the fly by our realignment unit, and stored at the desired alignment in the accelerator memory. This mechanism can help programmers to better organize data in the accelerator memory so that the accelerator can possibly access the data with no special instructions. Finally, the data are realigned properly also when put back to main memory. Our experiments with nine applications show that with our approach, the bandwidth of the DMA transfers is not penalized.
Keywords
integrated memory circuits; multimedia computing; parallel processing; program compilers; DMA transfers; DMA++; compiler generated code; data realignment; memory alignment constraints; multimedia extensions; on-chip memories; single instruction multiple data units; store instructions; Acceleration; Engines; Memory management; Multicore processing; Program processors; Registers; DMA; SIMD units.; alignment; multicores;
fLanguage
English
Journal_Title
Computers, IEEE Transactions on
Publisher
ieee
ISSN
0018-9340
Type
jour
DOI
10.1109/TC.2010.255
Filename
5669277
Link To Document