Docsity

Intel Pentium 4 Processor's NetBurst Microarchitecture and Hyper-Threading Technology, Slides of Computer Architecture and Organization

Partial preview of the text

Download Intel Pentium 4 Processor's NetBurst Microarchitecture and Hyper-Threading Technology and more Slides Computer Architecture and Organization in PDF only on Docsity!

Mobile Pentium 4 Architecture Supporting

Hyper-ThreadingTechnology

Outline

  • Introduction
  • Intel® NetBurstTM microarchitecture.
  • Hyper-Threading Technology
  • Microarchitecture Pipeline and Hyper-Threading Technology
  • Streaming SIMD Extensions 3 (SSE3)
  • Enhanced Intel SpeedStep® technology
  • Conclusion

Introduction

  • The Intel ® Pentium ® Processor (1993)
    • added a second execution pipeline to achieve superscalar performance.
    • Branch prediction has added.
  • The P6 Family of Processors (1995-1999)
    • Intel Pentium Pro processor
    • Intel Pentium II processor
    • Pentium II Xeon processor
    • Intel Celeron processor
    • Intel Pentium III processor
    • Pentium III Xeon processor

Introduction

  • The Intel Pentium 4 Processor Family (2000-2005)
    • based on Intel NetBurst® microarchitecture.
    • introduced Streaming SIMD Extensions 2 (SSE2)
    • introduced Streaming SIMD Extensions 3 (SSE3)
  • The Intel ® Xeon Processor (2001-2005)
    • introduced support for Hyper-Threading Technology
  • The Intel ® Pentium ® M Processor (2003-2005)
    • designed for extending battery life
  • The Intel Pentium Processor Extreme Edition (2005)
    • 64-bit addressing, 1024-Gbytes address space.
  • Design Advantages
    • a deeply pipelined design, 20-stage pipeline, that allows for high clock rates (with different parts of the chip running at different clock rates).
    • a pipeline that optimizes for the common case of frequently executed instructions; the most frequently-executed instructions in common circumstances (such as a cache hit) are decoded efficiently and executed with short latencies
  • Design Advantages
    • Employment of techniques to hide stall penalties; Among these are parallel execution, buffering, and speculation. The microarchitecture executes instructions dynamically and out-of-order, so the time it takes to execute each individual instruction is not always deterministic
  • Caches
    • The Intel NetBurst microarchitecture supports up to three levels of on-chip cache. - The first level cache (nearest to the execution core) contains separate caches for instructions and data. These include the first-level data cache and the trace cache (an advanced first-level instruction cache). All other caches are shared between instructions and data. - All caches use a pseudo-LRU (least recently used) replacement algorithm.
  • The Front End Pipeline
    • Consists of two parts:
      • Fetch/decode unit:
        • a hardware instruction fetcher that automatically prefetches instructions
        • a hardware mechanism that automatically fetches data and instructions into the unified second-level cache
      • Execution trace cache
        • The execution trace cache (TC) is the primary instruction cache in the Intel NetBurst microarchitecture. The TC stores decoded IA- instructions (μops).
  • The Front End Pipeline - Branch Prediction
    • Enables the processor to begin executing instructions long before the branch outcome is certain. Branch delay is the penalty that is incurred in the absence of correct prediction.
    • Branch prediction in the Intel NetBurst microarchitecture predicts all near branches (conditional calls, unconditional calls, returns and indirect branches). It does not predict far transfers (far calls and software interrupts).
  • The Front End Pipeline - Branch Prediction
    • Mechanisms have been implemented to aid in predicting branches accurately and to reduce the cost of taken branches: - the ability to dynamically predict the direction and target of branches based on an instruction’s linear address, using the branch target buffer (BTB) - if no dynamic prediction is available or if it is invalid, the ability to statically predict the outcome based on the offset of the target: a backward branch is predicted to be taken, a forward branch is predicted to be not taken - the ability to predict return addresses using the 16-entry return address stack - the ability to build a trace of instructions across predicted taken branches to avoid branch penalties.

Figure 2.Pentium 4 Processor Static Branch Prediction Algorithm

  • Branch Target Buffer.
    • Once branch history is available, the Pentium 4 processor can predict the branch outcome even before the branch instruction is decoded. The processor uses a branch history table and a branch target buffer (collectively called the BTB) to predict the direction and target of branches based on an instruction’s linear address. Once the branch is retired, the BTB is updated with the target address.

Figure 3. Execution Units and Ports in the Out-Of-Order Core Docsity.com

  • Retirement Unit
    • The retirement unit receives the results of the executed μops from the out-of-order execution core and processes the results so that the architectural state updates according to the original program order.
    • When a μop completes and writes its result, it is retired. Up to three μops may be retired per cycle. The Reorder Buffer (ROB) is the unit in the processor which buffers completed μops, updates the architectural state in order, and manages the ordering of exceptions. The retirement section also keeps track of branches and sends updated branch target information to the branch target buffer(BTB). The BTB then purges pre-fetched traces that are no longer needed.