Indicate data dependency in the code below assuming there


Indicate data dependency in the code below. Assuming there is no forwarding in the pipeline, howmany clock cycles are needed to finish the program? If full forwarding is used, how many clock cycles are needed?

a) lw $1, 40($6)
add $6, $2, $2
sw $6, 50($1)
b) lw $5, -16($5)
sw $5, -16($5)
add $5, $5, $5
c) lw $1, 60($2)
add $2, $3, $3
add $1, $2, $2
sw $1, -16($2)

 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Indicate data dependency in the code below assuming there
Reference No:- TGS0645112

Expected delivery within 24 Hours