{"title":"An Improved BitMask Based Code Compression Algorithm for Embedded Systems","authors":"W. Wang, C. Lin","doi":"10.1109/ISED.2011.15","DOIUrl":null,"url":null,"abstract":"Engineers must consider performance, power consumption and cost when they design digital systems. Embedded systems are more constrained in all these considerations. Memory is one of the key factors that affect all of them. Code compression is a technique for embedded systems to reduce the memory usage. Bit Mask based code compression is a modified version of dictionary based code compression. The basic of Bit Mask is to record mismatch values and their positions to compress more instructions and use exclusive or operation with the reference instruction to decode the codeword. In this paper, we applied separated dictionary and variable mask numbers to the Bit Mask algorithm to reduce the codeword length of high frequency instructions. A novel dictionary selection algorithm is also proposed to increase the instruction match rates. According to our experimental results, our method can improve in average 3% compression ratio for smaller benchmarks, and over 6% improvement for bigger benchmarks.","PeriodicalId":349073,"journal":{"name":"2011 International Symposium on Electronic System Design","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-12-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 International Symposium on Electronic System Design","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISED.2011.15","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5
Abstract
Engineers must consider performance, power consumption and cost when they design digital systems. Embedded systems are more constrained in all these considerations. Memory is one of the key factors that affect all of them. Code compression is a technique for embedded systems to reduce the memory usage. Bit Mask based code compression is a modified version of dictionary based code compression. The basic of Bit Mask is to record mismatch values and their positions to compress more instructions and use exclusive or operation with the reference instruction to decode the codeword. In this paper, we applied separated dictionary and variable mask numbers to the Bit Mask algorithm to reduce the codeword length of high frequency instructions. A novel dictionary selection algorithm is also proposed to increase the instruction match rates. According to our experimental results, our method can improve in average 3% compression ratio for smaller benchmarks, and over 6% improvement for bigger benchmarks.