首页> 外文期刊>ACM Transactions on Embedded Computing Systems >Code Compression for Performance Enhancement of Variable-Length Embedded Processors
【24h】

Code Compression for Performance Enhancement of Variable-Length Embedded Processors

机译:代码压缩可增强可变长度嵌入式处理器的性能

获取原文
获取原文并翻译 | 示例
           

摘要

Most of the work done in the field of code compression pertains to processors with fixed-length instruction encoding. The design of a code-compression scheme for variable-length instruction encodings poses newer design challenges. In this work, we first investigate the scope for code compression on variable-length instruction-set processors whose encodings are already optimized to a certain extent with respect to their usage. For such ISAs instruction boundaries are not known prior to decoding. Another challenging task of designing a code-compression scheme for such ISAs is designing the decompression hardware, which must decompress code postcache so that we gain in performance. We present two dictionary-based code compression schemes. The first algorithm uses a bit-vector; the second one uses reserved instructions to identify code words. We design additional logic for each of the schemes to decompress the code on-the-fly. We test the two algorithms with a variable-length RISC processor. We provide a detailed experimental analysis of the empirical results obtained by extensive simulation-based design space exploration for this system. The optimized decompressor can now execute compressed program faster than the native program. The experiments demonstrate reduction in code size (up to 30%), speed-up (up to 15%), and bus-switching activity (up to 20%). We also implement one decompressor in a hardware description language and synthesize it to illustrate the small overheads associated with the proposed approach.
机译:代码压缩领域中完成的大多数工作都与具有固定长度指令编码的处理器有关。用于变长指令编码的代码压缩方案的设计提出了新的设计挑战。在这项工作中,我们首先研究可变长度指令集处理器上代码压缩的范围,这些代码在使用方面已在一定程度上进行了优化。对于这样的ISA,在解码之前未知指令边界。为此类ISA设计代码压缩方案的另一项艰巨任务是设计解压缩硬件,该硬件必须解压缩代码后缓存,以提高性能。我们提出两种基于字典的代码压缩方案。第一种算法使用位向量。第二个使用保留指令来标识代码字。我们为每种方案设计了额外的逻辑,以便即时解压缩代码。我们使用可变长度RISC处理器测试这两种算法。我们通过对该系统进行广泛的基于仿真的设计空间探索,提供了对实验结果的详细实验分析。经过优化的解压缩器现在可以比本机程序更快地执行压缩程序。实验表明,代码大小减少了(最多30%),加速(最多了15%)和总线切换活动(最多了20%)。我们还用一种硬件描述语言实现了一个解压缩器,并对其进行了合成,以说明与所提出的方法相关的少量开销。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号