Question: We have the following program segment executed on a three stage ( I , E , D ) RISC pipeline. The pipeline allows two simultaneous

We have the following program segment executed on a three stage (I, E, D) RISC pipeline. The pipeline allows two simultaneous memory accesses.
100 LOAD R1, X #Load from Address X
101 LOAD R2, Y #Load from Address Y
102 INC R1 #Increment R1
103 DEC R2 #Decrement R2
104 BRANCH ,107 #Branch to Address 107
105 ADD R1,5 #Add 5 to R1
106 SUB R2,2 #Subtract 2 from R2
107 STORE R2, Z #Store R2 at Address Z
Using delayed branch in pipeline operation in the above program, draw the pipeline timing diagrams:
i- using NOOPS
ii- after rearranging the instructions (optimized delayed branch)/
 We have the following program segment executed on a three stage

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!