Consider the given code below and the clock cycles.Identify all RAW dependencies.
loop :
lw $ f0 , ( $t0 )
lw $ f2 , ( $t1 )
add.d $ f4 , $ f0 , $ f 2
mul.d $ f4 , $ f4 , $ f 6
sw $ f4 , ( $t2 )
addi $t0 , $t0 , 8
addi $t1 , $t1 , 8
subi $t3 , $t3 , 1
bnez $t3 , loop
Lw and store—takes 2 clock cycles
add.d takes 4 clock cycles
mul.d takes 6 clock cycles
addi and subi takes 0 clock cycles
bnez takes 1 clock cycles
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here