Instruction Level Parallelism (ILP) - PowerPoint PPT Presentation

About This Presentation
Title:

Instruction Level Parallelism (ILP)

Description:

http://en.wikipedia.org/wiki/Image:Fivestagespipeline.png ... http://www.cs.iastate.edu/~prabhu/Tutorial/PIPELINE/instrLevParal.html ... – PowerPoint PPT presentation

Number of Views:86
Avg rating:3.0/5.0
Slides: 8
Provided by: cbs0
Category:

less

Transcript and Presenter's Notes

Title: Instruction Level Parallelism (ILP)


1
Instruction Level Parallelism(ILP)
  • Colin Stevens

2
What is a parallel instruction?
  • ILP is a measure of the number of instructions
    that can be performed during a single clock
    cycle.
  • Parallel instructions are a set of instructions
    that do not depend on each other to be executed.
  • Hierarchy
  • Bit level Parallelism
  • 16 bit add on 8 bit processor
  • Instruction level Parallelism
  • Loop level Parallelism
  • for (i1 ilt1000 i i1)   xi xi yi
  • Thread level Parallelism (SMT, multi-core
    computers)

3
Making Computers Think Parallel
  • Human
  • Write code yourself, directly controlling each
    processor
  • Compiler
  • Let the compiler convert your sequential code
    into parallel instructions.
  • Hardware

4
Implementations of ILP
  • Pipelining
  • Superscalar Architecture
  • Dependency checking on chip.
  • Multiple Processing Elements eg. ALU, Shift
  • VLIW (Very Long Instruction Word Architecture)
  • Simple hardware, Complex Compiler
  • Multi processor computers

5
  • Pipelining

http//en.wikipedia.org/wiki/ImageFivestagespipel
ine.png
  • Superscalar

http//en.wikipedia.org/wiki/ImageSuperscalarpipe
line.png
6
Identifying parallel instructions
  • Hardware Techniques
  • Out of order execution
  • Window Size
  • Speculative execution
  • Branch Prediction
  • Branch Fanout
  • Compiler Techniques
  • Register Renaming
  • ADD t0,s1,2
  • SW t0, 0(s3)
  • ADD t0,s4,s5
  • SW t0, 0(s6)
  • Unrolling loops
  • Takes advantage of loop level parallelism

7
References
  • http//en.wikipedia.org/wiki/ImageFivestagespipel
    ine.png
  • http//en.wikipedia.org/wiki/ImageSuperscalarpipe
    line.png
  • http//www.cs.iastate.edu/prabhu/Tutorial/PIPELIN
    E/instrLevParal.html
Write a Comment
User Comments (0)
About PowerShow.com