• Home
  • Search
  • Improving Code Density with Variable Length Encoding Aware Instruction Scheduling
  • https://doi.org/10.1007/s11265-015-1081-6Copy DOI Icon

Improving Code Density with Variable Length Encoding Aware Instruction Scheduling

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

Variable length encoding can considerably decrease code size in VLIW processors by reducing the number of bits wasted on encoding No Operations(NOPs). A processor may have different instruction templates where different execution slots are implicitly NOPs, but all combinations of NOPs may not be supported by the instruction templates. The efficiency of the NOP encoding can be improved by the compiler trying to place NOPs in such way that the usage of implicit NOPs is maximized. Two different methods of optimizing the use of the implicit NOP slots are evaluated: (a) prioritizing function units that have fewer implicit NOPs associated with them and (b) a post-pass to the instruction scheduler which utilizes the slack of the schedule by rescheduling operations with slack into different instruction words so that the available instruction templates are better utilized. Three different methods for selecting basic blocks to apply FU priorization on are also analyzed: always, always outside inner loops, and only outside inner loops only in basic blocks after testing where it helped to decrease code size. The post-pass optimizer alone saved an average of 2.4 % and a maximum of 10.5 % instruction memory, without performance loss. Prioritizing function units in only those basic blocks where it helped gave the best case instruction memory savings of 10.7 % and average savings of 3.0 % in exchange for an average 0.3 % slowdown. Applying both of the optimizations together gave the best case code size decrease of 12.2 % and an average of 5.4 %, while performance decreased on average by 0.1 %.

Similar Papers
  • Conference Article
  • Citations5

Efficient resource management during instruction scheduling for the EPIC architectures

  • Sep 27, 2003
  • Dong-Yuan Chen +5
  • PDF
  • Research Article
  • Citations2

Co-design of Compiler and Hardware Techniques to Reduce Program Code Size on a VLIW Processor

  • Aug 01, 2012
  • CLEI Electronic Journal
  • Eric J Stotzer +1
  • Book Chapter
  • Citations26

Compiler algorithms on if-conversion, speculative predicates assignment and predicated code optimizations

  • Jan 01, 1997
  • Jesse Z Fang
  • Research Article
  • Citations12

Constrained LQR for low-precision data representation

  • Nov 20, 2013
  • Automatica
  • Stefano Longo +2
  • Book Chapter
  • Citations63

Phase Ordering of Register Allocation and Instruction Scheduling

  • Jan 01, 1992
  • Stefan M Freudenberger +1
  • Research Article

VLIW 기반 고성능 DSP에서의 SAD 알고리즘 최적화 스케줄링

  • Dec 28, 2007
  • The Journal of the Korea Contents Association
  • Hui-Jae Yu +2
  • Conference Article
  • Citations2

On Instruction-Level Method for Reducing Cache Penalties in Embedded VLIW Processors

  • Jan 01, 2009
  • Samir Ammenouche +2
  • Book Chapter

Scheduling Basic Blocks

  • Jan 01, 2016
  • Alex Aiken +3
  • Research Article
  • Citations58

Instruction scheduling for instruction level parallel processors

  • Jan 01, 2001
  • Proceedings of the IEEE
  • P Faraboschi +2
  • Research Article

An incremental basic block instruction scheduler

  • Nov 01, 1998
  • Journal of Systems Architecture
  • R Venugopal +1
  • Conference Article
  • Citations2

Compiler 2.0

  • Jun 16, 2020
  • Saman Amarasinghe
  • Conference Article
  • Citations9

Tetris

  • Jun 13, 2007
  • Weifeng Xu +1
  • Book Chapter
  • Citations2

Rule-Based Power-Balanced VLIW Instruction Scheduling with Uncertainty

  • Jan 01, 2005
  • Shu Xiao +2
  • Conference Article

Global instruction scheduling in dynamic compilation for embedded systems

  • Jan 01, 2006
  • Giovanni Agosta +3
  • Research Article
  • Citations13

The El'brus-3 and MARS-M: Recent advances in Russian high-performance computing

  • Mar 01, 1992
  • The Journal of Supercomputing
  • Mikhail N Dorozhevets +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.