Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Show how the instructions in the sequence given below will proceed through the p

ID: 3848987 • Letter: S

Question

Show how the instructions in the sequence given below will proceed through the pipeline:

i1 lw $1, 0($4)

i2 sub $1, $1, $1   

i3 add $1, $1, $1

(For this problem, you may assume that there is full forwarding hardware support.)

i 1 F D E M W

i 2 F D D D E M W

i 3 F D E M W

i 1 F D E M W

i 2 F D D E M W   

i 3 F D E M W

i 1 F D E M W

i 2 F D D E M W   

i 3 F F D E M W

i 1 F D E M W

i 2 F D E M W   

i 3 F D E M W

A. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

i 1 F D E M W

i 2 F D D D E M W

i 3 F D E M W

B. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

i 1 F D E M W

i 2 F D D E M W   

i 3 F D E M W

C. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

i 1 F D E M W

i 2 F D D E M W   

i 3 F F D E M W

D. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

i 1 F D E M W

i 2 F D E M W   

i 3 F D E M W

Show how the instructions in the sequence given below will proceed through the pipeline i1 w $1, 0($4) 2 sub $1, $1, $1 3 add $1, $1, $1 For this problem, you may assume that there is full forwarding hardware support.) O A. 2 5 6 7 8 9 10 11 12 13 14 15 i 1 F D E M W F D D D E M w F D E M W 13 O B. 2 5 6 7 8 9 10 11 12 13 14 15 i 1 F D E M W F D D E M w F D E M W 13 2 5 6 7 8 9 10 11 12 13 14 15 C. i 1 F D E M W F D D E M w F F D E M W 13 2 5 6 7 8 9 10 11 12 13 14 15 D. i 1 F D E M w F D E M W F D E M w 13

Explanation / Answer

i1 lw $1, 0($4)

i2 sub $1, $1, $1   

i3 add $1, $1, $1

the instructions in the sequence given below will proceed through the pipeline

option c:

i 1 F D E M W

i 2 F D D E M W   

i 3 F F D E M W