Brendan Ang

Search

Search IconIcon to open search

Instruction Level Parallelism

Last updated Nov 8, 2022 Edit Source

# Instruction Level Parallelism

We can group multiple independent instructions and execute them concurrently in different functional units of a single processor.

# Approaches

Hardware approach: Superscalar processor Software approach: compiler based using a Very Long Instruction Word (VLIW) processor

# Superscalar Processing

Way-2 can be assigned load and store instructions while Way-1 will handle other instructions: We can introduce previous techniques to reduce data hazard and improve overall CPI:

# Very Long Instruction Word

# Practice Problems

a. P1 in order:

TimeLane 1Lane 2
1A
2B
3CD
4EF
5G
6H
P2 out of order:
TimeLane 1Lane 2
—-————
1AD
2BE
3CF
4G
5H

b. $Speedup = 6/5=1.2$