skip to main content
article

SPL: a language and compiler for DSP algorithms

Authors Info & Claims
Published:01 May 2001Publication History
Skip Abstract Section

Abstract

We discuss the design and implementation of a compiler that translates formulas representing signal processing transforms into efficient C or Fortran programs. The formulas are represented in a language that we call SPL, an acronym from Signal Processing Language. The compiler is a component of the SPIRAL system which makes use of formula transformations and intelligent search strategies to automatically generate optimized digital signal processing (DSP) libraries. After a discussion of the translation and optimization techniques implemented in the compiler, we use SPL formulations of the fast Fourier transform (FFT) to evaluate the compiler. Our results show that SPIRAL, which can be used to implement many classes of algorithms, produces programs that perform as well as “hard-wired” systems like FFTW.

References

  1. 1 L. Auslander, J. Johnson, and R. W. Johnson. Automatic implementation of FFT algorithms. Technical Report DU-MCS-96-01, Dept. of Math. and Computer Science, Drexel University, Philadelphia, PA, June 1996. Presented at the DARPA ACMP PI meeting.]]Google ScholarGoogle Scholar
  2. 2 J. Bilmes, K. Asanovic, C. Chin, and J. Demmel. Optimizing matrix multiply using phipac: a portable, high-performance, ansi c code methodology. In Proc. ICS1997, 1997. http://www.icsi.berkeley.edu/~bilmes/phipac/.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 D. L. Dai, S. K. S. Gupta, S. D. Kaushik, J. H. Lu, R. V. Singh, C.-H. Huang, P. Sadayappan, and R. W. Johnson. EXTENT: A portable programming environment for designing and implementing high-performance block recursive algorithms. In Supercomputing 1994, pages 49-58, 1994.]]Google ScholarGoogle Scholar
  4. 4 M. Frigo. BenchFFT. http://www.fftw.org/benchfft/.]]Google ScholarGoogle Scholar
  5. 5 M. Frigo. A fast fourier transform compiler. In PLDI '99, pages 169-180, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 M. Frigo and S. G. Johnson. FFTW: An adaptive software architecture for the FFT. In ICASSP '98, volume 3, pages 1381-1384, 1998. http://www.fftw.org.]]Google ScholarGoogle ScholarCross RefCross Ref
  7. 7 M. T. H. Henrik V. Sorenson, C. Sidney Burrus. Fast Fourier Transform Database. PWS Publishing Company, Boston, 1995.]]Google ScholarGoogle Scholar
  8. 8 J. Johnson, R. Johnson, D. Padua, and J. Xiong. TPL: Tensor Product Language, 1999. http://www.ece.cmu.edu/~spiral/tpl.html.]]Google ScholarGoogle Scholar
  9. 9 J. R. Johnson and R. W. Johnson. Challenges of computing the fast Fourier transform. In Proc. Optimized Portable Application Libraries (OPAL) Workshop, A DARPA/NSF sponsored workshop in Kansas City, June. 2-3, 1997.]]Google ScholarGoogle Scholar
  10. 10 J. R. Johnson, R. W. Johnson, D. Rodriguez, and R. Tolimieri. A methodology for designing, modifying, and implementing Fourier transform algorithms on various architectures. Circuits, Systems, and Signal Processing, 9(4):449-500, 1990.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11 J. R. Johnson and M. Puschel. In search of the optimal Walsh-Hadamard transform. In Proc. ICASSP 2000, 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12 T. Kisuki, P.M.W.Knijnenberg, M.F.P.O'Boyle, and H.A.G.Wijshoff. Iterative compilation in program optimization. In Proc. CPC2000, pages 35-44, 2000.]]Google ScholarGoogle Scholar
  13. 13 J. M. F. Moura, J. Johnson, R. W. Johnson, D. Padua, V. Prasanna, M. P.uschel, and M. M. Veloso. SPIRAL: Portable Library of Optimized Signal Processing Algorithms, 1998. http://www.ece.cmu.edu/~spiral.]]Google ScholarGoogle Scholar
  14. 14 K. R. Rao and P. Yip. Discrete Cosine Transform. Academic Press, 1990.]]Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15 R. Tolimieri, M. An, and C. Lu. Algorithms for discrete Fourier transforms and convolution. Springer, 2nd edition, 1997.]]Google ScholarGoogle Scholar
  16. 16 C. Van Loan. Computational Framework of the Fast Fourier Transform. Siam, 1992.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 17 R. Vuduc and J. Demmel. Code generators for automatic tuning of numerical kernels: Experiences with fftw. In ICFP 2000, 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. 18 R. C. Whaley and J. Dongarra. Automatically tuned linear algebra software (ATLAS), 1998. http://www.netlib.org/atlas/.]]Google ScholarGoogle Scholar

Index Terms

  1. SPL: a language and compiler for DSP algorithms

          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

          Full Access

          • Published in

            cover image ACM SIGPLAN Notices
            ACM SIGPLAN Notices  Volume 36, Issue 5
            May 2001
            330 pages
            ISSN:0362-1340
            EISSN:1558-1160
            DOI:10.1145/381694
            Issue’s Table of Contents
            • cover image ACM Conferences
              PLDI '01: Proceedings of the ACM SIGPLAN 2001 conference on Programming language design and implementation
              June 2001
              331 pages
              ISBN:1581134142
              DOI:10.1145/378795

            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: 1 May 2001

            Check for updates

            Qualifiers

            • article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader