subject
Computers and Technology, 28.05.2021 16:40 Geo777

Consider the following sequence o instructions, and assume that it is executed on a 5-stage pipelined data path: Add r5,r2,r1 #l1
lw r3, 4(r5) #l2
Or r3,r5,r3 #l3
lw r2 0(r2) #l4
Sw r3, 0(r5) #l5

a. List the read-after-write (current instruction is reading certain registers which haven't been written back yet) data dependencies. As an example, 2 on 1 (r5) shows instruction 2 has data dependency on instruction 1 since it is reading register År5.
b. Assume the 5-stage MIPS pipeline with no forwarding, and each stage takes 1 cycle. Instead of inserting NOPs, you let the processor stall on hazards. How many times does the processor stall? What is the total number of stall cycles?
c. What is the execution time (in cycles) for the whole program? Sketch a diagram to explain your answer.
d. Assume the 5-stage MIPS pipeline with full forwarding. Insert NOPs to eliminate the hazards.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
The two main ways in which marketers address the competition with their strategies are by satisfying a need better than a competition and by
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
question
Computers and Technology, 24.06.2019 20:10
Approximately what portion of global employers tends to use social media websites to hire new employees?
Answers: 1
You know the right answer?
Consider the following sequence o instructions, and assume that it is executed on a 5-stage pipeline...
Questions
question
Mathematics, 15.01.2021 01:00
question
Mathematics, 15.01.2021 01:00
question
Mathematics, 15.01.2021 01:00
question
History, 15.01.2021 01:00
question
Mathematics, 15.01.2021 01:00