Evaluating compiler technology for control-flow optimizations for multimedia extension architectures

  • Authors:
  • Jaewook Shin;Mary W. Hall;Jacqueline Chame

  • Affiliations:
  • Information Sciences Institute, University of Southern California, Marina del Rey, CA, USA;School of Computing, University of Utah, Salt Lake City, UT, USA;Information Sciences Institute, University of Southern California, Marina del Rey, CA, USA

  • Venue:
  • Microprocessors & Microsystems
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper addresses how to automatically generate code for multimedia extension architectures in the presence of conditionals. We evaluate the costs and benefits of exploiting branches on the aggregate condition codes associated with the fields of a superword (an aggregate object larger than a machine word) such as the branch-on-any instruction of the AltiVec. Branch-on-superword-condition-codes (BOSCC) instructions allow fast detection of aggregate conditions, an optimization opportunity often found in multimedia applications. This paper presents compiler analyses and techniques for generating efficient parallel code using BOSCC instructions. We evaluate our approach, which has been implemented in the SUIF compiler, through a set of experiments with multimedia benchmarks, and compare it with the default approach previously implemented in our compiler. Our experimental results show that using BOSCC instructions can result in better performance for applications where the aggregate condition codes of a superword often evaluate to the same value.