Learn about the technologies behind the Internet with The TCP/IP Guide!
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.
View over 750 of my fine art photos any time for free at DesktopScenes.com!

[ The PC Guide | Systems and Components Reference Guide | The Processor | Processor Architecture and Operation | Internal Processor Interfaces and Operation | Instruction Execution Process ]

Compiler Optimization

The internal architecture of processors varies, and therefore the way that they execute programs varies as well. Some processors handle certain types of code much better than others. In addition, some processors have special performance-enhancing features, but in order to use them the code they execute must be arranged in a compatible way. For example, the Pentium processor has two separate integer execution units, called the U-pipe and the V-pipe. The U-pipe can execute any instruction while the V-pipe can only execute some. Programs that take this into account can structure themselves to get more performance than those that do not optimize themselves in this manner.

All instruction execution on the processor is done at the machine level, using machine language. However most code is written in higher-level languages such as C. Therefore, the important job of optimizing code is normally done by compilers, which are intricate programs that translate high-level languages into machine code.

Next: Native Execution Steps

Home  -  Search  -  Topics  -  Up

The PC Guide (http://www.PCGuide.com)
Site Version: 2.2.0 - Version Date: April 17, 2001
Copyright 1997-2004 Charles M. Kozierok. All Rights Reserved.

Not responsible for any loss resulting from the use of this site.
Please read the Site Guide before using this material.
Custom Search