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 Unabridged Pentium 4: IA32 Processor Genealogy (PC System Architecture Series)
By Tom Shanley
Addison-Wesley Professional
Price: $34.39

Home » CPU
Inside Pentium 4 Architecture
Author: Gabriel Torres
Type: Tutorials Last Updated: October 18, 2005
Page: 2 of 7
$ Check REAL-TIME pricing for Intel Pentium® 4 650, 3.4 GHz (BX80547PG3400F) Boxed Processor $
Amazon: $699.00 PC Connection: $719.00
Sparco: $693.49 Best Buy: $599.99
Compuvest: $109.99 Newegg: $679.99

Pentium 4 Pipeline

Pipeline is a list of all stages a given instruction must go thru in order to be fully executed. On 6th generation Intel processors, like Pentium III, their pipeline had 11 stages. Pentium 4 has 20 stages! So, on a Pentium 4 processor a given instruction takes much longer to be executed then on a Pentium III, for instance! If you take the new 90 nm Pentium 4 generation processors, codenamed “Prescott”, the case is even worse because they use a 31-stage pipeline! Holy cow!

This was done in order to increase the processor clock rate. By having more stages each individual stage can be constructed using fewer transistors. With fewer transistors is easier to achieve higher clock rates. In fact, Pentium 4 is only faster than Pentium III because it works at a higher clock rate. Under the same clock rate, a Pentium III CPU would be faster than a Pentium 4 because of the size of the pipeline.

Because of that, Intel has already announced that their 8th generation processors will use Pentium M architecture, which is based on Intel’s 6th generation architecture (Pentium III architecture) and not on Netburst (Pentium 4) architecture. This arquitecture, called Core, can be studied on our Inside Core Microarchitecture tutorial.

On Figure 2 you can see Pentium 4 20-stage pipeline. So far Intel didn’t disclosure Prescott’s 31-stage pipeline, so we can’t talk about it.

Pentium 4 Architecture
click to enlarge
Figure 2: Pentium 4 pipeline.

Here is a basic explanation of each stage, which explains how a given instruction is processed by Pentium 4 processors. If you think this is too complex for you, don’t worry. This is just a summary of what we will be explaining on the next pages.

  • TC Nxt IP: Trace cache next instruction pointer. This stage looks at branch target buffer (BTB) for the next microinstruction to be executed. This step takes two stages.
  • TC Fetch: Trace cache fetch. Loads, from the trace cache, this microinstruction. This step takes two stages.
  • Drive: Sends the microinstruction to be processed to the resource allocator and register renaming circuit.
  • Alloc: Allocate. Checks which CPU resources will be needed by the microinstruction – for example, the memory load and store buffers.
  • Rename: If the program uses one of the eight standard x86 registers it will be renamed into one of the 128 internal registers present on Pentium 4. This step takes two stages.
  • Que: Queue. The microinstructions are put in queues according to their types (for example, integer or floating point). They are held in the queue until there is an open slot of the same type in the scheduler.
  • Sch: Schedule. Microinstructions are scheduled to be executed according to its type (integer, floating point, etc). Before arriving to this stage, all instructions are in order, i.e. on the same order they appear on the program. At this stage, the scheduler re-orders the instructions in order to keep all execution units full. For example, if there is one floating point unit going to be available, the scheduler will look for a floating point instruction to send it to this unit, even if the next instruction on the program is an integer one. The scheduler is the heart of the out-of-order engine of Intel 7th generation processors. This step takes three stages.
  • Disp: Dispatch. Sends the microinstructions to their corresponding execution engines. This step takes two stages.
  • RF: Register file. The internal registers, stored in the instructions pool, are read. This step takes two stages.
  • Ex: Execute. Microinstructions are executed.
  • Flgs: Flags. The microprocessor flags are updated.
  • Br Ck: Branch check. Checks if the branch taken by the program is the same predicted by the branch prediction circuit.
  • Drive: Sends the results of this check to the branch target buffer (BTB) present on the processor’s entrance.
Pages (7): « 1 [2] 3 4 5 6 7 »
Print Version | Send to Friend | | Bookmark Article | Comments (0)

Related Content
  • Intel is going to Identify Their Processors Through Numbers
  • Pentium 4 Thermal Throttle
  • The New 64-Bit Pentium 4 Processor
  • Intel Fab18 Factory Tour in Kiryat Gat, Israel
  • How to Upgrade Your CPU

  • Recommended Deals
    AMD Athlon 64 3500+, 2.2 GHz (ada3500dik4b) OEM / Unboxed Processor


    CompuVest: $42.99 ZipZoomfly.com: $59.99
    Amazon: $656.90 Hpshopping: $441.99
    Jlpnetworksstore: $801.14 Zappos: $826.00
    AMD Athlon™ 64 3800 3800+, 2 GHz AMD Processor in a Box (PIB)


    Server Supply: $135.00 Amazon: $103.39
    Hpshopping: $441.99 Zappos: $826.00
    Jlpnetworksstore: $801.14
    AMD Athlon™ 64 3000+, 2.0 GHz (ada3000box) AMD Processor in a Box (PIB)


    ZipZoomfly.com: $105.00 Hpshopping: $441.99
    Amazon: $656.90 Jlpnetworksstore: $801.14
    Zappos: $826.00
    Intel Core™2 Quad Q6600, 2.40 GHz (BX80562Q6600) Boxed Processor


    CompUSA.com: $189.99 Circuit City: $279.99
    TigerDirect.com: $189.99 ZipZoomfly.com: $188.50
    Dell: $329.99

    RSSLatest News
    Patriot Launches SO-DIMM DDR3-2000
    September 5, 2008 - 7:28 AM PST
    Kingston Unveils HyperX SO-DIMM Memory Kit
    September 4, 2008 - 10:59 AM PST
    Thermaltake Launches V9 Case Series
    September 3, 2008 - 7:54 AM PST
    Sigma Launches 1,000 W Power Supply
    September 2, 2008 - 7:55 AM PST
    Intel Launches New Processors
    September 1, 2008 - 11:16 AM PST
    Scythe Launches Kaze Maru Case Fan
    September 1, 2008 - 10:24 AM PST
    Lian Li Launches Silent Force Power Supply Series
    August 29, 2008 - 9:24 AM PST
    New Thermaltake Power Supplies
    August 28, 2008 - 11:43 AM PST
    Sparkle and MSI Launch GeForce 9400 GT
    August 28, 2008 - 11:13 AM PST
    NZXT Unveils Whisper Full Tower Case
    August 28, 2008 - 10:39 AM PST
    .:: More News ::.

    RSSLatest Content
    Everything You Need to Know About the CPU C-States Power Saving Modes
    AMD ATI Chips Comparison Table
    nVidia Chips Comparison Table
    Inside Intel Nehalem Microarchitecture
    OCZ Elixir Gaming Keyboard Review
    Everything You Need to Know About The QuickPath Interconnect (QPI)
    Me and Woz
    Introduction to Wireless USB (WUSB)
    Nikon Coolpix S600 Camera Review
    IDF Fall 2008: Opening Keynote
    Thecus N5200 NAS Review
    ECS GeForce 9800 GTX+ Hydra Video Card Review
    320 GB Hard Disk Drive Round-Up
    Razer Destructor Mouse Pad Review
    Sapphire HD 4870 X2 Video Card Review

    Our Most Popular Articles
    Maximum CPU Temperature
    771,520 views
    nVidia Chips Comparison Table
    479,922 views
    AMD ATI Chips Comparison Table
    425,395 views
    ATI Radeon X1300 Pro Review
    413,732 views
    ATI Radeon X1600 XT Review
    408,501 views
    How to Find Out Your Motherboard Manufacturer and Model
    384,594 views
    Connecting Two PCs Using a USB-USB Cable
    347,428 views
    How To Correctly Apply Thermal Grease
    332,659 views
    Sempron vs. Athlon XP
    280,021 views
    Sempron 3400+ Review
    270,193 views

    Latest Threads in Our Forums
    Slipstreaming SP3
    by BedCommando
    Building PC for Audio.
    by Wall'E
    What configuration is better??
    by Gabriel Torres
    Upgrading to dual core
    by Gabriel Torres
    Patriot Launches SO-DIMM DDR3-2000
    by Hardware Secrets Team
    overclocking e8400 problem
    by andybarrel
    Everything You Need to Know About the CPU C-States Power Saving Modes
    by Hardware Secrets Team
    Cooler Master Cosmos S Case Review
    by Retratserif
    Kingston Unveils HyperX SO-DIMM Memory Kit
    by Hardware Secrets Team
    New Forum: PC Doesn't Turn On
    by Gabriel Torres
    .:: 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)