CMP - United Business Media TechOnline
All Articles Products Courses Papers VirtuaLabs Webinars Web
 
LoginRegister
      TechOnline > Electronics Company Directory > Technical Paper
Technical Papers
Advanced Compiler Optimizations for the Smallest, Fastest Code

Click to Download
pdf logo
2007 Embedded Systems Conference
65 KB (15 pages)
April 05, 2007
 

Greg Davis
Green Hills Software

This paper describes some of the optimizations performed by today's modern compilers that help to generate highly tuned code for maximum performance and minimal code size. In spite of the increased speed of microprocessors, performance has not become irrelevant. Performance is necessary to minimizing the response time of one's system, thereby achieving product reliability. Increased performance also allows more features to be implemented without compromising the integrity of the system. Conversely, performance may be used to select a cheaper microprocessor or one that consumes less power.

There are many factors that determine the performance of a system. The choice of hardware can mean the difference between a few MIPS and a few hundred. Good data structures and algorithms are essential, and bookshelves have been written on this topic. Simple guidelines should also be followed to make sure that one's code can be readily optimized. A good compiler is also essential. The examples provided in this paper describe optimizations performed by highly optimizing compilers.

 
Rate this paper
WORSE | BETTER
1 2 3 4 5

submit a paper
Follow Tech Papers

Embedded Systems Conference (ESC)
Green Hills Software
   

TECH PAPER
1. Use Rowley CrossWorks and the MAXQ3120 Evaluation Kit to Create a Light Meter Application

TECH PAPER
2. System ACE Configuration Solution for Xilinx FPGAs

TECH PAPER
3. Interface Products Design Guide

TECH PAPER
4. Maintaining Data/Clock Synchronization with Spread-Spectrum EMI Reduction