Question: Problem 3: Consider a pipelined processor with bypassing paths as shown in Figure 4.52 and a perfect branch predictor. Fill in the following tables with

Problem 3: Consider a pipelined processor with bypassing paths as shown in Figure 4.52 and a perfect branch predictor. Fill in the following tables with which execution stage each instruction is in, during each clock cycle. The columns correspond to clock cycles. The rows correspond to individual instructions. Instructions can appear multiple time in the table, because these instructions are part of a loop. For example, the existing entries in the table indicate that In 1 is in fetch stage in cycle 1, in decode stage in cycle 2, in execution stage in cycle 3 in memory stage in cycle 4 and in writeback stage in cycle 5. Marks all the bypassings that occur during the execution.

Problem 3: Consider a pipelined processor with bypassing paths as shown in

Code segment:

Figure 4.52 and a perfect branch predictor. Fill in the following tables

The throughput of a pipeline is typically measure in terms of cycle per instruction (CPI). CPI is the average number of instructions graduated per clock cycle. The performance of a pipeline is function of the CPI and the clock rate.

1. The effective throughput of this pipeline in executing this code segment = ____________;

2. If the clock operates at 1GHz, the instruction per second achieved by the pipeline on this code = ____________.

figure 4.52:

with which execution stage each instruction is in, during each clock cycle.

Iteration 1 Instr 1 2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Iteration 1 In 1 F D E M W In 2 In 3 In 4 In 5 In 6 In 7 In 8 Iteration 2 In 1 In 2 In 3 In 4 In 5 In 6 In 7 In 8 Iteration 3 In 1 In 2 In 3 In 4 In 5 In 6 In 7 In 8

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!