Programming with Intel Wireless MMX Technology: A Developer's Guide to Mobile Multimedia Applications

Part II: Enabling Applications with Intel Wireless MMX Technology

Chapter List

Chapter 5: The Art of Optimization
Chapter 6: Finding the Bottleneck
Chapter 7: Intel Integrated Performance Primitives
Chapter 8: Embedded Software Development Tool Chain
Chapter 9: Optimizing for Memory Subsystems
Chapter 10: Optimizing for Pipelines
Chapter 11: Porting Existing Code

It's clever, but is it ART?
Rudyard Kipling

Overview

In an ideal microprocessor, one that can issue one machine instruction per clock cycle, the best performance that can be achieved is that, for every cycle, one useful instruction is completed. The processor's choice of instructions then leads to an efficient implementation of the task at hand. The two goals of optimization are: (1) to reduce the total number of cycles required to achieve a particular task by reducing the number of cycles wherein no useful work is done and (2) to make the most effective use of the cycles consumed.

In real-world microprocessors, many factors conspire to cause deviation from ideal performance. The art of optimization lies in figuring out how to work around a particular factor or how to mitigate its effect on performance.

Optimization Strategy

The overall strategy for optimization is straightforward and can be summarized by the following recipe:

  1. Identify the hotspots.

  2. Identify the cause of the performance bottleneck and assess the suitability of using SIMD techniques.

  3. Select a suitable SIMD optimization and method of applying it.

  4. Repeat steps 1 3 until the performance goal is reached.

This chapter introduces you to the concepts and the terminology associated with performance optimization, laying the foundation for the...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Combustion Engines
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.