Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. A processor has a clock rate of 2 GHz and executes a program. It has six stages as shown in the table below, with

2. A processor has a clock rate of 2 GHz and executes a program. It has six stages as shown in the table below, with each stage requiring the indicated number of cycles. Note that the time for one cycle is 1/(clock rate).

Instruction Fetch 6 cycles

Instruction Decode 2 cycle

calculate op . 3cycle

Operands Fetch 6 cycles

Operands Execute 3 cycle

instructions Write 5 cycles

a) What is the CPI and MIPS rate of the non-pipelined processor?

b. If the instructions contain 20% branch instructions that impose a 25-cycle penalty each time they branch, what is the best CPI this system can attain?

c. Suppose we introduce branch prediction which works 90% of the time. What CPI can this system attain?

d. If we are able to further improve the processor by making a 2-way superscalar pipeline with same branch prediction rate in d) and with no other hazards, what would the new associated CPI, MIPS rate be and what is the speed-up of this be compared to the non-pipelined processor? Assume millions of instructions are being processed.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Active listening is hard work. True False

Answered: 1 week ago