Question: Repeat 4.35.2, but now assume that 10% of executed branches have all four delay slots illed with useful instruction, 20% have only three useful instructions

Repeat 4.35.2, but now assume that 10% of executed branches have all four delay slots illed with useful instruction, 20% have only three useful instructions in delay slots (the fourth delay slot is an NOP), 30% have only two useful instructions in delay slots, and 40% have no useful instructions in their delay slots.

Exercise 4.35.2

What is the speedup that would be achieved by using four branch delay slots to reduce control hazards in this processor? Assume that there are no data dependences between instructions and that all four delay slots can be illed with useful instructions without increasing the number of executed instructions. To make your computations easier, you can also assume that the mispredicted branch instruction is always the last instruction to be fetched in a cycle, i.e., no instructions that are in the same pipeline stage as the branch are fetched from the wrong path.


This exercise is intended to help you better understand the relationship between ISA design and pipelining. Problems in this exercise assume that we have a multiple issue pipelined processor with the following number of pipeline stages, instructions issued per cycle, stage in which branch outcomes are resolved, and branch predictor accuracy:a. b. Pipeline Issue Width Depth 15 25 2 4 Branches Execute in Stage 10 15 Branch Predictor Accuracy 90% 96%

a. b. Pipeline Issue Width Depth 15 25 2 4 Branches Execute in Stage 10 15 Branch Predictor Accuracy 90% 96% Branches as a % of Instructions 25% 15%

Step by Step Solution

3.37 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To calculate the speedup that would be achieved by using four branch delay slots to reduce control h... View full answer

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 Computer Organization Design Questions!