An Improved BitMask Based Code Compression Algorithm for Embedded Systems

W. Wang, C. Lin
{"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.
嵌入式系统基于比特掩码的改进代码压缩算法
工程师在设计数字系统时必须考虑性能、功耗和成本。嵌入式系统在所有这些考虑方面都受到更多的限制。记忆是影响所有这些的关键因素之一。代码压缩是嵌入式系统减少内存使用的一种技术。基于位掩码的代码压缩是基于字典的代码压缩的改进版本。位掩码的基础是记录错配值及其位置,压缩更多的指令,并与参考指令进行互斥或运算,解码码字。本文将分隔字典和可变掩码数应用到位掩码算法中,以减少高频指令的码字长度。为了提高指令匹配率,提出了一种新的字典选择算法。根据我们的实验结果,我们的方法可以在较小的基准测试中平均提高3%的压缩比,在较大的基准测试中提高6%以上。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信