Docsity

High Performance Processors-Advance Computer Architecture-Lecture Slides, Slides of Advanced Computer Architecture

Partial preview of the text

Download High Performance Processors-Advance Computer Architecture-Lecture Slides and more Slides Advanced Computer Architecture in PDF only on Docsity!

Recap:

High-Performance Processors

1: Branch Target Buffer

2: Integrated Instruction Fetch Units

Integrated Branch Prediction Instruction Prefetch Instruction memory access and buffering

2: Integrated Instruction Fetch Units ….. Cont’d

Instruction Prefetch

An instruction pre-fetch queue is

part of IIFU

The queue holds multiple

instructions and deliver more

than one instructions in one

cycle

2: Integrated Instruction Fetch Units ….. Cont’d

Instruction-Memory access and buffering Fetching multiple instructions per clock cycle may require accessing multiple cache lines, which is a complex operation IIFU facilitates to overcome these complexities and hides the cost of crossing cache-blocks IIFU also provides instruction buffering and on-demand issue

Summary: Minimizing Control Hazard Penalties

Multiple Instruction-Issue Processors

All of the schemes described so far can at best achieve 1 instruction/cycle

There exist two variations to these schemes:

  • Superscalar processors
  • Very Long Instruction Word (VLIW) processors

Superscalar

 The statically scheduled processors use in- order execution

 The dynamically scheduled use out-of-order execution

 Superscalar concept has been used in:

- IBM Power - Sun Ultra SPARC - Pentium III/ - DEC Alpha - HP 8000

2:Very Long Instruction Words – VLIW processor

2: VLIW Processors

VLIW includes new features for:

  • predication,
  • rotating registers and
  • speculations, etc. Typical implementations are: - i860, Trimedia, Itanium

We will talk about statically scheduled

superscalar today and about compiling

for VLIW/EPIC later

Statically Scheduled Superscalar Processor

Example: Statically Scheduled Superscalar MIPS Processor

As an example let us consider a MIPS superscalar that has: Number of Instructions issue/clock: 2 instructions - 1 FP operation, 1 Integer operations

(The integer operations include Load/store to integer or FP register, branch and Integer ALU operation) Issuing two instructions per cycle would require Fetch and Decode 64 - bits/clock cycle

Example: … Cont’d

Fetching two instructions need careful handling of the cache,

as either the first instruction may be at end of the cache block

or the second instruction my be at the beginning of the cache block

Hazard detection

The restriction of one FP and one Integer makes the hazard checking simple.