Question discussion

A pipelined processor has an ideal CPI of 1. 20% of its instructions are branches, and every branch causes 2 stall cycles. There are no oth…

2320Medium DSSSB TGT Computer Science 0 replies 1 views
0

A pipelined processor has an ideal CPI of 1. 20% of its instructions are branches, and every branch causes 2 stall cycles. There are no other stalls. What is the effective CPI?

  • A1.4
  • B1.2
  • C1.6
  • D2.0
Correct answer: A

Explanation

Effective CPI = 1 + (0.20 × 2) = 1.4.

Discussion 0

Nobody has replied yet. Start the discussion!