CS 3853 Computer Architecture Chapter 3 Section 4 Example Answers


Modification 9: fmul takes 5 cycles instead of 10

Instruction
Reservation
Station
Execution
Unit
Issue
Cycle
Ex Start
Cycle
Ex End
Cycle
Memory
Cycle
CDB
cycle
Write
dest
L.D    F6,32(R2)Load1ALU12234F6
L.D    F2,44(R3)Load2ALU23345F2
MUL.DF0,F2,F4Mult1fmul361011F0
SUB.DF8,F2,F6Add1fadd4678F8
DIV.DF10,F0,F6Mult2fmul5125152F10
ADD.DF6,F8,F2Add1fadd691012F6
Note 1: The MUL.D finishes 5 cycles earlier so the DIV.D can start 5 cycles earlier.
Note 2: The ADD.D cannot put the result on the CDB in cycle 11 since the CDB is not free.