Optimizing code size for embedded real-time applications

  • Authors:
  • Shao-Yang Wang;Chih-Yuan Chen;Rong-Guey Chang

  • Affiliations:
  • Department of Computer Science, National Chung Cheng University, Taiwan;Department of Computer Science, National Chung Cheng University, Taiwan;Department of Computer Science, National Chung Cheng University, Taiwan

  • Venue:
  • EUC'06 Proceedings of the 2006 international conference on Embedded and Ubiquitous Computing
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents an efficient technique for code compression. In our work, a sequence of instructions that occurs repeatedly in an application will be compressed to reduce its code size. During compression, each instruction is first divided into the operation part and the register part, and then only the operation part is compressed. For reducing the run-time overhead, we propose an instruction prefetching mechanism to speed the decompression. Moreover, we devise some optimization techniques to improve the code size reduction and the performance, and show their impacts. The experimental results show that our work can achieve a code size reduction of 33% on average and a low overhead in the process of decompression at run time for these benchmarks