Very Large Instruction Word (VLIW) : - VLIW - Architectures and Scheduling Techniques (Ch. 3.5)
Very Large Instruction Word (VLIW) : - VLIW - Architectures and Scheduling Techniques (Ch. 3.5)
Compiler scheduling
• Local (inside a basic block) or global (across basic blocks)
• Cyclic (loop unrolling or software pipelining) or non-cyclic
(trace scheduling)
UNUSED UNUSED
a) IPC = 5
b) IPC = 23/9
c) The number of unused slots is 21
Time
Time
Time
Time
Time
Time
Data hazards
• RAW hazards are handled correctly
• For WAR hazards, use rotating registers (register renaming technique)
LD F0,0(R1)
ADD F4,F0,F2
SD F4,0(R1)
• Two iterations between LD and ADD; RR6 and RR4 point to same
physical register
• Three iterations between ADD and SD; RR3 and RR0 point to same
register
Michel
Michel
Dubois,
Dubois,
Murali
Murali
Annavaram
Annavaram
and Per
and Stenström
Per Stenström
© 2012
© 2019