Question: Problem 8 : Consider the following program segment: START: LDUR X 1 0 , [ X 1 , # 0 ] LDUR X 1 1

Problem 8:
Consider the following program segment:
START: LDUR X10,[X1, #0]
LDUR X11,[X1, #8]
ADD X12, X10, X11
SUBI X1, X1, #16
CBNZ X12, START
Let us assume there is no control hazard.
a) Is there a data Hazard? Identify the instructions that are involved with that hazard if any.
b) Show a five stages pipeline execution diagram for the first two iterations of the above program segment.
c) Mark the pipeline stages that do not perform useful work. Please answer these questions as specified show work!! thnk you!

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 Programming Questions!