Question: 1 - Use the following code fragment: Assume that the initial value of R 4 is ( mathrm { R } 2 +
Use the following code fragment:
Assume that the initial value of R is mathrmR
For this exercise assume the standard DLX integer pipeline as shown in Figure and the standard DLX FP pipeline as described in Figures and If structural hazards are due to writeback contention, assume the earliest instruction gets priority and other instructions are stalled.
a Show the timing of this instruction sequence for the DLX FP pipeline without any forwarding or bypassing hardware but assuming a register read and a write in the same clock cycle "forwards" through the register file, as in Figure Use a pipeline timing chart like Figure or Assume that the branch is handled by flushing the pipeline. If all memory references hit in the cache, how many cycles does this loop take to execute?
b Show the timing of this instruction sequence for the DLX FP pipeline with normal forwarding and bypassing hardware. Use a pipeline timing chart like Figure or Assume that the branch is handled by predicting it as not taken. If all memory references hit in the cache, how many cycles does this loop take to execute?
c Assuming the DLX FP pipeline with a singlecycle delayed branch and full bypassing and forwarding hardware, schedule the instructions in the loop including the branchdelay slot. You may reorder instructions and modify the individual instruction operands, but do not undertake other loop transformations that change the number or opcode of the instructions in the loop thats for the next chapter! Show a pipeline timing diagram and compute the time needed in cycles to execute the entire loop.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
