Skip to main content

A Code Selection Method for SIMD Processors with PACK Instructions

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2826))

Abstract

This paper proposes a code selection method for SIMD instructions considering PACK instructions. The proposed method is based on a code selection method using Integer Linear Programming. The proposed method selects SIMD instructions efficiently, because it considers data transfer between registers. Data transfers are represented as nodes of PACK instructions. In the proposed method, nodes for data transfers are added to DAGs representing basic blocks. The nodes are covered by covering rules for PACK instructions. Code selection problems are formulated into Integer Linear Programming. Experimental results show that the proposed method reduced code size by 10% and execution cycles by 20 % or more, comparing to the method without PACK instructions.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Texas Instruments. TMS320C6000 CPU and Instruction Set Reference Guide (2000)

    Google Scholar 

  2. Philips Semiconductors. PNX 1300 Series Databook (2002)

    Google Scholar 

  3. MIPS Technology. MIPS64 Architecture For Programmers Volume II: The MIPS64 Instruction Set (2001)

    Google Scholar 

  4. SWARC: SIMD Within a Register C, http://www.ece.purdue.edu/~hankd/SWAR/Scc.html

  5. Larsen, S.: Exploiting Superword Level Parallelism with Multimedia Instruction Sets. ACM SIGPLAN Notices 35(5), 145–156 (2000)

    Article  Google Scholar 

  6. Leupers, R.: Code Optimization Techniques for Embedded Processors. Kluwer Academic Publishers, Dordrecht (2000)

    MATH  Google Scholar 

  7. Aho, A.V., Ganapathi, M., Tijang, S.W.K.: Code Generation Using Tree Matching and Dynamic Programming. ACM Trans. on Programming Languages and Systems 11(4), 491–516 (1989)

    Article  Google Scholar 

  8. Hennessy, J.L., Patterson, D.A.: Computer Architecture – A Quantitative Approach. Morgan Kaufmann Publishers Inc., San Francisco (1990)

    Google Scholar 

  9. Zivojnovic, V., Martinez, J., Schlger, C., Meyr, H.: DSPstone: A DSP-Oriented Benchmarking Methodology. In: Proc. of International Conference on Signal Processing Applications and Technology (1994)

    Google Scholar 

  10. ACE Associated Compiler Experts, http://www.ace.nl/

  11. Kobayashi, S., Mita, K., Takeuchi, Y., Imai, M.: A Compiler Generation Method for HW/SW Codesign Based on Configurable Processors. IEICE Trans. on Fundamentals of Electronics, Communications and Computer Sciences E85-A(12), 2586–2595 (2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Tanaka, H., Kobayashi, S., Takeuchi, Y., Sakanushi, K., Imai, M. (2003). A Code Selection Method for SIMD Processors with PACK Instructions. In: Krall, A. (eds) Software and Compilers for Embedded Systems. SCOPES 2003. Lecture Notes in Computer Science, vol 2826. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-39920-9_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-39920-9_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20145-8

  • Online ISBN: 978-3-540-39920-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics