Hardware Secrets
Home | Audio | Case | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
News
Reviews
Tutorials
Main Menu
About Us
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Gabriel's Blog
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Newsletter
Subscribe today!
Search




Recommended Book
The Winn L. Rosch Hardware Bible (6th Edition)
By Winn L Rosch
Que
Price: $1.80

Home » CPU
How a CPU Works
Author: Gabriel Torres
Type: Tutorials Last Updated: September 26, 2005
Page: 8 of 9
$ Check REAL-TIME pricing for Intel Core 2 Duo E8400, 3Ghz E8400 (BX80570E8400A) Retail Processor Products $
ZipZoomfly.com: $189.90 Buy.com: $194.99
TigerDirect.com: $199.99 CompUSA.com: $199.99
CompuVest: $204.99

Out-Of-Order Execution (OOO)

Remember that we said that modern CPUs have several execution units working in parallel? We also said that there are different kinds of execution units, like ALU, which is a generic execution unit, and FPU, which is a math execution unit. Just as a generic example in order to understand the problem, let’s say that a given CPU has six execution engines, four “generic” and two FPUs. Let’s also say that the program has the following instruction flow in a given moment:

1. generic instruction
2. generic instruction
3. generic instruction
4. generic instruction
5. generic instruction
6. generic instruction
7. math instruction
8. generic instruction
9. generic instruction
10. math instruction

What will happen? The schedule/dispatch unit will send the first four instructions to the four ALUs but then, at the fifth instruction, the CPU will need to wait for one of their ALUs to be free in order to continue processing, since all its four generic execution units are busy. That’s not good, because we still have two math units (FPUs) available, and they are idle. So, a CPU with out-of-order execution (all modern CPUs have this feature) will look at the next instruction to see if it can be sent to one of the idle units. In our example, it can’t, because the sixth instruction also needs one ALU to be processed. The out-of-order engine continues its search and finds out that the seventh instruction is a math instruction that can be executed in one of the available FPUs. Since the other FPU will still be available, it will go down the program looking for another math instruction. In our example, it will pass the eight and the ninth instructions and will load the tenth instruction.

So, in our example, the execution units will be processing, at the same time, the first, the second, the third, the fourth, the seventh and the tenth instructions.

The name out-of-order comes from the fact that the CPU doesn’t need to wait; it can pull an instruction from the bottom of the program and process it before the instructions above it are processed. Of course the out-of-order engine cannot go forever looking for an instruction if it cannot find one. The out-of-order engine of all CPUs has a depth limit on which it can crawl looking for instructions (a typical value would be 512).

Pages (9): « 1 2 3 4 5 6 7 [8] 9 »
Print Version | Send to Friend | | Bookmark Article | Comments (5)

Related Content
  • Pentium 4 Thermal Throttle
  • Sempron vs. Athlon XP
  • Maximum CPU Temperature
  • Sempron 3000+ and Celeron D 331 Review
  • How to Upgrade Your CPU

  • Compare Prices for CPUPowered by Shopping.com
    Intel Core?2 Quad Q6600, 2.40 GHz (BX80562Q6600) Boxed Processor
    Processor, 8 MB Cache Memory, For Socket LGA775, 1066 MHz Bus Speed, For PC Platforms
    Read full description...

    Read 1 Epinions reviews
    $209 - $330 Compare Prices
    Intel Core 2 Duo E6850, 3 GHz (BX80557E6850) Boxed Processor
    Processor, 3 GHz, 1333 MHz Bus Speed, 4 MB Cache Memory, For Socket LGA775, For PC Platforms
    Read full description...
    $164 - $320 Compare Prices
    Intel Core2? Quad Q6600, 2.40 GHz Q6600 (HH80562PH0568M) OEM / Unboxed Processor
    Processor, 2.4 GHz, 1066 MHz Bus Speed, 8 MB Cache Memory, For Socket LGA775, For PC Platforms
    Read full description...
    $200 - $417 Compare Prices
    AMD Athlon? 64 3800 3800+, 2 GHz AMD Processor in a Box (PIB)
    Processor, 1 MB Cache Memory, For Socket AM2, 1000 MHz Bus Speed, For PC Platforms
    Read full description...
    $76 - $113 Compare Prices
    AMD Athlon XP 3200+, 2.2 GHz (AXDA3200BOX) Retail Processor
    Processor, 2.2 GHz, 400 MHz Bus Speed, 512 KB Cache Memory, 3200+, For Socket A, For PC Platforms
    Read full description...

    Read 2 Epinions reviews
    $40 - $40 Compare Prices

    RSSLatest News
    Transcend Releases aXeRam DDR3-1800
    July 4, 2008 - 2:06 PM
    Leadtek Launches WinFast PX9800 GTX+
    July 4, 2008 - 11:44 AM
    MSI Launches Factory-Overclocked Radeon HD 4870 Graphics Card
    July 4, 2008 - 9:22 AM
    Arctic Cooling Launches Accelero TWIN TURBO
    July 3, 2008 - 11:27 AM
    Cooler Mater V8 CPU Cooler
    July 3, 2008 - 10:59 AM
    New DDR3 Intel Extreme Memory Series From OCZ
    July 2, 2008 - 2:59 PM
    New AMD Phenom Processors
    July 2, 2008 - 2:21 PM
    OCZ Announces Core Series SATA-300 2.5" SSD
    July 2, 2008 - 6:45 AM
    Lian Li Launches PC-A77 Case
    July 1, 2008 - 11:48 AM
    BFG Announces Factory-Overclocked GeForce GTX 260 Graphics Cards
    July 1, 2008 - 7:48 AM
    .:: More News ::.

    RSSLatest Content
    Celeron, Pentium Dual Core and Athlon X2: Which One is the Best USD 70 CPU?
    DirectX Versions
    All Phenom Models
    Everything You Need to Know About Serial ATA
    Sapphire HD 4850 Video Card Review
    How Things Are Around Here
    Gigabyte GA-EP31-DS3L Motherboard
    Zalman FPSGun FG1000 Mouse Review
    AMD ATI Chips Comparison Table
    Amazon Kindle Review
    Tagan A+ Black Pearl Case Review
    Western Digital VelociRaptor WD3000GLFS Hard Disk Drive Review
    The new GeForce 9800 GTX+ and PhysX
    Sapphire Atomic HD 3870 X2 Video Card Review
    nVidia Chips Comparison Table

    Our Most Popular Articles
    Maximum CPU Temperature
    723,025 views
    nVidia Chips Comparison Table
    451,771 views
    AMD ATI Chips Comparison Table
    406,739 views
    ATI Radeon X1300 Pro Review
    401,701 views
    ATI Radeon X1600 XT Review
    396,585 views
    How to Find Out Your Motherboard Manufacturer and Model
    347,678 views
    Connecting Two PCs Using a USB-USB Cable
    317,621 views
    How To Correctly Apply Thermal Grease
    302,048 views
    Sempron vs. Athlon XP
    271,877 views
    Sempron 3400+ Review
    261,677 views

    Latest Threads in Our Forums
    Transcend Releases aXeRam DDR3-1800
    by Hardware Secrets Team
    Leadtek Launches WinFast PX9800 GTX+
    by Hardware Secrets Team
    Urgent, Asus My Logo killed my Mobo
    by Viper Masse
    Modding a PSU for hobby purposes, combining rails?
    by Vantskruv
    MSI Launches Factory-Overclocked Radeon HD 4870 Graphics Card
    by Hardware Secrets Team
    P5q Deluxe
    by BedCommando
    Celeron, Pentium Dual Core and Athlon X2: Which One is the Best USD 70 CPU?
    by Cheetos
    Nu Build
    by Cheetos
    Arctic Cooling Launches Accelero TWIN TURBO
    by Cheetos
    Cooler Mater V8 CPU Cooler
    by Hardware Secrets Team
    .:: Visit Our Forums ::.

    © 2004-8, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)