Dictionary Based Code Compression for Variable Length Instruction Encodings

  • Authors:
  • Dipankar Das;Rajeev Kumar;P. P. Chakrabarti

  • Affiliations:
  • Indian Institute of Technology-Kharagpur;Indian Institute of Technology-Kharagpur;Indian Institute of Technology-Kharagpur

  • Venue:
  • VLSID '05 Proceedings of the 18th International Conference on VLSI Design held jointly with 4th International Conference on Embedded Systems Design
  • Year:
  • 2005

Quantified Score

Hi-index 0.01

Visualization

Abstract

Most of the work done in the field of machine code compression is for fixed length instruction encodings. In this work we apply code compression on variable length instruction set processors whose encodings are already optimized to a certain extent with respect to their usages. We develop a dictionary based algorithm which utilizes unused encoding space of an instruction set architecture to encode code-words, and addresses issues arising out of variable length instructions. We test the algorithm with a RISC processor and include results for compression and performance in terms of cycle-counts and memory accesses respectively. We also present an efficient scheme for searching relocated branch addresses and analyze its performance.