Skip to main content

Instruction Level Power Analysis and Optimization of Software

  • Chapter
Technologies for Wireless Computing

Abstract

The increasing popularity of power constrained mobile computers and embedded computing applications drives the need for analyzing and optimizing power in all the components of a system. Software constitutes a major component of today’s systems, and its role is projected to grow even further. Thus, an ever increasing portion of the functionality of today’s systems is in the form of instructions, as opposed to gates. This motivates the need for analyzing power consumption from the point of view of instructions—something that traditional circuit and gate level power analysis tools are inadequate for. This paper describes an alternative, measurement based instruction level power analysis approach that provides an accurate and practical way of quantifying the power cost of software. This technique has been applied to three commercial, architecturally different processors. The salient results of these analyses are summarized. Instruction level analysis of a processor helps in the development of models for power consumption of software executing on that processor. The power models for the subject processors are described and interesting observations resulting from the comparison of these models are highlighted. The ability to evaluate software in terms of power consumption makes it feasible to search for low power implementations of given programs. In addition, it can guide the development of general tools and techniques for low power software. Several ideas in this regard as motivated by the power analysis of the subject processors are also described.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover 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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. T. Sato, M. Nagamatsu, and H. Tago, “Power and performance simulator: ESP and its application for 100MIPS/W class RISC design,” in Proceedings of1994 IEEE Symposium on Low Power Electronics, San Diego, CA, Oct. 1994, pp. 46–47.

    Google Scholar 

  2. P.W. Ong and R.H. Yan, “Power-conscious software design—a framework for modeling software on hardware,” in Proceedings of1994 IEEE Symposium on Low Power Electronics, San Diego, CA, Oct. 1994, pp. 36–37.

    Google Scholar 

  3. P. Landman and J. Rabaey, “Black-box capacitance models for architectural power analysis,” in Proceedings of the International Workshop on Low Power Design, Napa, CA, April 1994, pp.165–170.

    Google Scholar 

  4. P. Landman and J. Rabaey, “Activity-sensitive architectural power analysis for the control path,” in Proceedings of the International Symposium on Low Power Design, Dana Point, CA, pp. 93–98, April 1995.

    Google Scholar 

  5. L.W. Nagle, “SPICE2: A computer program to simulate semiconductor circuits,” University of California, Berkeley, No. ERL-M520, 1975.

    Google Scholar 

  6. A. Salz and M. Horowitz, “IRSIM: An incremental MOS switch- level simulator,” in Proceedings of the Design Automation Conference, pp. 173–178, 1989.

    Google Scholar 

  7. C.X. Huang, B. Zhang, A.C. Deng, and B. Swirski, “The design and implementation of PoweMill,” in Proceedings of the International Symposium on Low Power Design, Dana Point, CA, April 1995, pp. 105–110.

    Google Scholar 

  8. V. Tiwari, S. Malik, and A. Wolfe, “Power analysis of embedded software: A first step towards software power minimization,” IEEE Transactions on VLSI Systems, Vol. 2, No. 4, pp. 437–445, Dec. 1994

    Article  Google Scholar 

  9. Intel Corp., Intel486 Microprocessor Family, Programmer’s Reference Manual, 1992.

    Google Scholar 

  10. Intel Corp., i486 Microprocessor, Hardware Reference Manual, 1990.

    Google Scholar 

  11. Fujitsu Microelectronics Inc., SPARClite Embedded Processor User’s Manual, 1993.

    Google Scholar 

  12. Fujitsu Microelectronics Inc., SPARClite Embedded Processor User’s Manual: MB86934 Addendum, 1994.

    Google Scholar 

  13. V. Tiwari, S. Malik, and A. Wolfe, “Power Analysis of the Intel 486DX2,” Technical Report Princeton Univ., Dept. of Elect. Eng., CE-M94–5, June 1994.

    Google Scholar 

  14. V. Tiwari and Mike T.C. Lee, “Power analysis of a 32-bit embedded microcontroller,” accepted for publication, VLSI Design Journal.

    Google Scholar 

  15. T.C. Lee, V. Tiwari, S. Malik, and M. Fujita, “Power analysis and low-power scheduling techniques for embedded DSP software,” in Proceeding of the International Symposium on System Synthesis, Sept. 1995, Cannes, France.

    Google Scholar 

  16. P. Landman and J. Rabaey, “Power estimation for high level synthesis,” in Proceedings of the European Design Automation Conference, Paris, Feb. 1993, pp. 361–366.

    Google Scholar 

  17. V. Tiwari, S. Malik, and P. Ashar, “Guarded evaluation: Pushing power management to logic synthesis/design,” in Proceedings of the International Symposium on Low Power Design, Dana Point, CA, April 1995, pp. 221–226.

    Google Scholar 

  18. S. Gary et al., “PowerPC 603, a microprocessor for portable computers,:” IEEE Design & Test of Computers, pp. 14–23, Winter 1994.

    Google Scholar 

  19. A. Correale, “Overview of the power minimization techniques employed in the IBM PoweC 4xx embedded controllers,” in Proceedings of the International Symposium on Low Power Design, Dana Point, CA, April 1995, pp. 75–80.

    Google Scholar 

  20. M. Alidina, J. Monteiro, S. Devadas, A. Ghosh, and M. Papaefthymiou, “Precomputation-based sequential logic optimization for low power,” IEEE Transactions on VLSI Systems, pp. 426–436, Dec. 1994.

    Google Scholar 

  21. L. Benini and G. De Micheli, “Transformation and synthesis of FSMs for low power gated clock implementation,” in Proceedings of the International Symposium on Low Power Design, Dana Point, CA, April 1995, pp. 21–26.

    Google Scholar 

  22. S. Wuytack, F. Franssen, F. Catthoor, L. Nachtergaele, and H. De Man, “Global communication and memory optimizing transformations for low power systems,” in Proceedings of the International Workshop on Low Power Design, Napa, CA, April 1994, pp. 203–208.

    Google Scholar 

  23. S. Wuytack, F. Catthoor, and H. De Man, “Transforming set data types to power optimal data structures,” in Proceedings of the International Symposium on Low Power Design, April 1995, Dana Point, CA.

    Google Scholar 

  24. V. Tiwari, S. Malik, and A. Wolfe, “Compilation techniques for low energy: An overview,” in Proceedings of 1994 IEEE Symposium on Low Power Electronics, San Diego, CA, Oct. 1994, pp. 38–39.

    Google Scholar 

  25. Press et al., Numerical Recipes in C, Cambridge Univ. Press, 1988.

    MATH  Google Scholar 

  26. C.W. Fraser and D.R. Hanson, “A retargetable compiler for ANSI C,” SIGPLAN Notices, pp. 29–43, Oct. 1991.

    Google Scholar 

  27. C.L. Su, C.Y. Tsui, and A.M. Despain, “Low power architecture design and compilation techniques for high-performance processors,” in IEEE COMPCON, Feb. 1994.

    Google Scholar 

  28. Texas instruments, Digital Signal Processing Applications—Theory, Algorithm, and Implementations, 1986.

    Google Scholar 

  29. T.C. Lee and V. Tiwari, “A memory allocation technique for low-energy embedded DSP software,” in Proceedings of 1995 IEEE Symposium on Low Power Electronics, Oct. 1995, San Jose, CA.

    Google Scholar 

  30. A. Sudarsanam and S. Malik, “Memory bank and register allocation in software synthesis for ASIPs,” in Proceedings of the International Conference on Computer-Aided Design, Nov. 1995, San Jose, CA.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1996 Kluwer Academic Publishers

About this chapter

Cite this chapter

Tiwari, V., Malik, S., Wolfe, A., Lee, M.TC. (1996). Instruction Level Power Analysis and Optimization of Software. In: Chandrakasan, A.P., Brodersen, R.W. (eds) Technologies for Wireless Computing. Springer, Boston, MA. https://doi.org/10.1007/978-1-4613-1453-0_9

Download citation

  • DOI: https://doi.org/10.1007/978-1-4613-1453-0_9

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4612-8633-2

  • Online ISBN: 978-1-4613-1453-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics