1 cycle 800 ps 3x109 instructions x ------------- x ------ = 800x 3x109ps 1 instruction 1 cycle = 2.4 x 1012 ps x 1 second / 1x1012ps = 2.4 sec
One instruction will require 1000ps or 800 extra ps One instruction will require 800ps or 600 extra ps One instruction will require 600ps or 400 extra ps One instruction will require 400ps or 200 extra ps ------ 2000 extra ps 3x109-4 instructions will require 200ps. SO 1 cycle 200ps 3x109 instructions x ------------- x ------- = 3 x 200 x 109ps 1 instruction 1 cycle = 6 x 1011 ps x 1 second /1x1012ps = .6 second - 2000 ps = .6 seconds
lw $t1, 4($t3) addi $t1, $t3, 23 sw $t1, 4($t3) add $t1, $t2, $t3 add $t3, $t1, $t1 add $t5, $t1, $t1 lw $t2, 7($t5)