| Inside Pentium M Architecture |
|
|
$ Check REAL-TIME pricing for Intel Pentium Dual Core E5300 Processor BX80571E5300 - 2.60GHz 2MB Cache 800MHz FSB Wolfdale Retail Socket 775 $ |
|
|
|
|
|
| Pentium M Pipeline |
Pipeline is a list of all stages a given instruction must go thru in order to be fully executed. Intel didn’t disclosure Pentium M’s pipelines, so we will talk about Pentium III’s. Pentium M’s pipeline has probably more stages than Pentium III’s, but analyzing Pentium III’s will give you a good idea on how Pentium M’s architecture work.
Just to remember, Pentium 4 pipeline has 20 stages and the pipeline of newer Pentium 4 CPUs based on “Prescott” core has 31 stages!
On Figure 1 you can see Pentium III’s 11-stage pipeline.
 click to enlarge Figure 1: Pentium III pipeline.
Here is a basic explanation of each stage, which explains how a given instruction is processed by P6-class 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.
- IFU1: Loads one line (32 bytes, i.e. 256 bits) from L1 instruction cache and stores it in the Instruction Streaming Buffer.
- IFU2: Identifies the instructions boundaries within 16 bytes (128 bits). Since x86 instructions don’t have a fixed length this stage marks where each instruction starts and ends within the loaded 16 bytes. If there is any branch instruction within these 16 bytes, its address is stored at the Branch Target Buffer (BTB), so the CPU can later use this information on its branch prediction circuit.
- IFU3: Marks to which instruction decoder unit each instruction must be sent. There are three different instruction decoder units, as we will explain later.
- DEC1: Decodes the x86 instruction into a RISC microinstruction (a.k.a. micro-op). Since the CPU has three instructions decode units, it is possible to decode up to three instructions at the same time.
- DEC2: Sends the micro-ops to the Decoded Instruction Queue, which is capable to store up to six micro-ops. If the instruction was converted in more than six micro-ops, this stage must be repeated in order to catch the missing micro-ops.
- RAT: Since P6 microarchitecture implements out-of-order execution (OOO), the value of a given register could be altered by an instruction executed before its “correct” (i.e., original) place in the program flow, corrupting the data needed by another instruction. So, to solve this kind of conflict, at this stage the original register used by the instruction is changed to one of the 40 internal registers that P6 microarchitecture has.
- ROB: At this stage three micro-ops are loaded into the Reorder Buffer (ROB). If all data necessary for the execution of a micro-op are available and if there is an open slot at the Reservation Station micro-op queue, then the micro-op is moved to this queue.
- DIS: If the micro-op wasn’t sent to the Reservation Station micro-op queue, this is done at this stage. The micro-op is sent to the proper execution unit.
- EX: The micro-op is executed at the proper execution unit. Usually each micro-op needs only one clock cycle to be executed.
- RET1: Checks at the Reorder Buffer if there is any micro-op that can be flagged as “executed”.
- RET2: When all micro-ops related to the previous x86 instruction were already removed from the Reorder Buffer and all micro-ops related to the current x86 instruction were executed, these micro-ops are removed from the Reorder Buffer and the x86 registers are updated (the inverse process done at RAT stage). The retirement process must be done in order. Up to three micro-ops can be removed from the Reorder Buffer per clock cycle.
Don’t worry if all this sounded confusing to you. We will explain all this better on the next pages. |
| Pages (7): « 1 [2] 3 4 5 6 7 » |
| Print Version | Send to Friend |
|
Bookmark Article
| Comments (0)
|
|
Recommended Deal |
 | AMD Phenom II X2 550 Black Edition Dual Core Processor - 3.10GHz Socket AM3 6MB Cache 2000MHz 4000 MT/s Retail Unlocked Multiplier HDZ550WFGIBOX
|
|
Latest News |
November 6, 2009 - 3:07 PM PST |
November 5, 2009 - 3:49 PM PST |
November 5, 2009 - 3:47 PM PST |
November 5, 2009 - 3:42 PM PST |
November 5, 2009 - 3:38 PM PST |
November 5, 2009 - 3:36 PM PST |
November 3, 2009 - 8:14 PM PST |
November 3, 2009 - 7:57 PM PST |
November 3, 2009 - 7:51 PM PST |
November 2, 2009 - 6:05 PM PST |
| .:: More News ::. |
|
Latest Content |
|
|
| Our Most Popular Articles |
1,070,380 views
|
694,596 views
|
671,159 views
|
585,462 views
|
555,686 views
|
553,919 views
|
485,718 views
|
474,753 views
|
389,121 views
|
336,476 views
|
|
| Latest Threads in Our Forums |
by ftomsuk |
by cchjde |
by delta32 |
by Desert Fox |
by sam_wade07 |
by fjs559 |
by Hardware Secrets Team |
by Merman |
by Olle P |
by Olle P |
| .:: Visit Our Forums ::. |
|
|