skip to main content
10.1145/224486.224493acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
Article
Free Access

Optimal code generation for embedded memory non-homogeneous register architectures

Authors Info & Claims
Published:13 September 1995Publication History

ABSTRACT

Abstract: This paper examines the problem of code generation for expression trees on non-homogeneous register set architectures. It proposes and proves the optimality of an O(n) algorithm for the tasks of instruction selection, register allocation and scheduling on a class of architectures defined as the [1,/spl infin/] model. Optimality is guaranteed by sufficient conditions derived from the register transfer graph (RTG), a structural representation of the architecture which depends exclusively on the processor instruction set architecture (ISA). Experimental results using the TMS320C25 as the target processor show the efficacy of the approach.

References

  1. 1.A.V. Aho, t/. bethi, and J.D. U llman. C'ompilers, Principles, Techniques and Tools. Addison Wesley, Boston, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.M.R. Garey and D.S. Johnson. Computers and Intractability. W. H. Freeman and Company, New York, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.A.V. Aho and S.C. Johnson. Optimal code generation for expression trees. Journal of the A CM, 23(3):488- 501, July 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.B. Wess. Automatic instruction code generation based on trellis diagrams. In Proc. Int. Conf. Circuits and Systems, volume 2, pages 645-648, 1992.Google ScholarGoogle ScholarCross RefCross Ref
  5. 5.A.V. Aho, M. Ganapathi, and S.W.K Tjiang. Code generation using tree matching and dynamic programming. A CM Trans. Prog. Lang. and Systems, 11(4):491-516, October 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.C.W. Fraser, D.R. Hanson, and T.A. Proebsting. Engineering a simple, efficient code generator. Journal of the A CM, 22(12):248-262, March 1993.Google ScholarGoogle Scholar
  7. 7.Tjiang S.W.K. An olive twig. Technical report, Synopsys Inc., 1993.Google ScholarGoogle Scholar
  8. 8.R. Sethi and J.D. Ullman. The generation of optimal code for arithmetic expressions. Journal of the A CM, 17(4):715-728, October 1970. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.V. Zivojnovic, J.M. Velarde, and C. Scl~ger. DSP- stone, a DSP benchmarking methodology. Technical report, Aachen University of Thecnology, August 1994.Google ScholarGoogle Scholar
  10. 10.Liao S.Y., Devadas S., Keutzer K., Tjiang S., and Wang A. Storage assignment to decrease code size. Accepted for publication in 1995 ACM Conference on Programming Language Design and Implementation. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Optimal code generation for embedded memory non-homogeneous register architectures

              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

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader