Skip to main content
Article thumbnail
Location of Repository

Storage Assignment to Decrease Code Size

By Stan Liao, Srinivas Devadas, Kurt Keutzer, Steve Tjiang and Albert Wang

Abstract

DSP architectures typically provide indirect addressing modes with auto-increment and decrement. In addition, indexing mode is not available, and there are usually few, if any, general-purpose registers. Hence, it is necessary to use address registers and perform address arithmetic to access automatic variables. Subsuming the address arithmetic into auto-increment and auto-decrement modes improves the size of the generated code. In this paper we present a formulation of the problem of optimal storage assignment such that explicit instructions for address arithmetic are minimized. We prove that for the case of a single address register the decision problem is NP-complete. We then generalize the problem to multiple address registers. For both cases heuristic algorithms are given. Our experimental results indicate an improvement of 3 1 Introduction Microprocessors such as microcontrollers and fixedpoint digital signal processors (DSPs) are increasingly being embedded into many electron..

Year: 1995
OAI identifier: oai:CiteSeerX.psu:10.1.1.36.8519
Provided by: CiteSeerX
Download PDF:
Sorry, we are unable to provide the full text but you may find it at the following location(s):
  • http://citeseerx.ist.psu.edu/v... (external link)
  • http://www.synopsys.com/news/p... (external link)
  • Suggested articles


    To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.