Title :
A novel scheme to generate optimal memcpy assembly code
Author :
Ying, Huan ; Zhu, Hao ; Wang, Donghui ; Hou, Chaohuan
Author_Institution :
Graduate University of Chinese Academy of Sciences, Beijing, 100190, China
Abstract :
Memcpy function is invoked frequently by digital signal processor to handle data transfer during encoding and decoding of multimedia. This paper presents a novel scheme to generate optimal memcpy assembly code for a reduced instruction set computer architecture. Based on the ordered binary decision diagram and the concept of data mining, the proposed solution completely exploits the available optimization according to the input parameters of memcpy. Thus, the memcpy function assembly code generated by our proposal accomplishes the directed-optimal data transfer during execution. Experimental results showed that the solution improves the performance of memcpy effectively. It reduced 56.5c/o executed cycles on average. Moreover, the approach of generation for memcpy at assembly level is portable for any other reduced instruction set computer architecture with modification of the customization file.
Keywords :
Assembly; Boolean functions; Data structures; Digital signal processing; Hardware; Optimization;
Conference_Titel :
Information Science and Technology (ICIST), 2013 International Conference on
Conference_Location :
Yangzhou
Print_ISBN :
978-1-4673-5137-9
DOI :
10.1109/ICIST.2013.6747619