Title :
Code compression in embedded processors using multi-dictionary and pattern blocks
Author :
Ji Tu ; Zilong Wang ; MeiSong Zheng ; Lijian Li ; Junye Wang
Author_Institution :
Inst. of Autom., Beijing, China
Abstract :
A novel method using multi-dictionary and pattern blocks is proposed for code compression to effectively reduce the memory size which program code stored. According to the repeat times of different pattern blocks and non-block codes, the code set is clustered into several clusters. Pattern blocks cluster is compressed using dictionary-based compression method and each dictionary entry points to a pattern block. The other clusters are for non-block codes and the codeword for each cluster is different. We use shorter codeword to point to the more frequently occurred cluster. By finding the best clusters for both blocked and non-block codes, the entropy of our encode strategy is high and the compression efficiency is the best. Theoretical proof and experimental results show that the compression effect of this method is superior to the traditional multi-dictionary based code compression. Code of MiBench benchmark compiled under the ARM and MIPS instruction set architecture are compressed with this method, and the average compression ratio are between 50% ~ 55%,64%~70%, separately.
Keywords :
block codes; data compression; embedded systems; instruction sets; pattern clustering; set theory; ARM instruction set architecture; MIPS instruction set architecture; MiBench benchmark; code compression; code set cluster; codeword; compression efficiency; dictionary entry points; dictionary-based compression method; embedded processors; encode strategy; entropy; memory size reduction; multidictionary blocks; nonblock codes; pattern blocks cluster; program code; Block codes; Clustering algorithms; Conferences; Dictionaries; Embedded systems; Image coding; Program processors;
Conference_Titel :
Electrical and Computer Engineering (CCECE), 2015 IEEE 28th Canadian Conference on
Conference_Location :
Halifax, NS
Print_ISBN :
978-1-4799-5827-6
DOI :
10.1109/CCECE.2015.7129303