skip to main content
10.1145/371636.371710acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
Article

Scheduling-based code size reduction in processors with indirect addressing mode

Authors Info & Claims
Published:25 April 2001Publication History

ABSTRACT

DSPs are typically equipped with indirect addressing modes with auto-increment and auto-decrement, which provide efficient address arithmetic calculations. Such an addressing mode is maximally utilized by careful placement of variables in storage, thereby reducing the amount of address arithmetic instructions. Finding proper placement of variables in storage is called storage assignment problem and the result highly depends on the access sequence of variables. This paper suggests statement scheduling as a compiler optimization step to generate a better access sequence. Experimental results show 3.6% improvement on the average over naive storage assignment.

References

  1. 1.D.H. Bartley, "Optimizing stack frame accesses for processors with restricted addressing modes," Software Practice and Experience, vol. 22 (2), 1992 Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.SPAM Compiler Users Manual, SPAM Research group, Princeton University, 1997Google ScholarGoogle Scholar
  3. 3.S. Liao, S. Devadas, K. Keutzer, S. Tjiang, and A. Wang, "Storage assignment to decrease code size," ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 1995 Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.R. Leupers and P. Marwedel, "Algorithms for address assignment in DSP code generation," Int. Conference on Computer-Aided Design (ICCAD), 1996 Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.A. Ran and S. Pande, "Storage assignment using expression tree transformations to generate compact and efficient DSP code," ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 1999Google ScholarGoogle Scholar
  6. 6.Steven S. Muchnick, Advanced Compiler Design and Implementation, Morgan Kaufmann Publishers, 1997 Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.R. Leupers, Code Optimization Techniques for Embedded Processors, Kluwer Academic Publishers, 2000 Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Scheduling-based code size reduction in processors with indirect addressing mode

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          CODES '01: Proceedings of the ninth international symposium on Hardware/software codesign
          April 2001
          271 pages
          ISBN:1581133642
          DOI:10.1145/371636

          Copyright © 2001 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 25 April 2001

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          CODES '01 Paper Acceptance Rate43of83submissions,52%Overall Acceptance Rate280of864submissions,32%

          Upcoming Conference

          ESWEEK '24
          Twentieth Embedded Systems Week
          September 29 - October 4, 2024
          Raleigh , NC , USA

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader