Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 InstructionCalculate Fetch Execute Write Fetch Decode erands Instructions Operand 6 cycles erands 6 cycles 2 cycles 3 cycles 3 cycles 5 cycles a) What is the CPI and MIPS rate of the non-pipelined processor? b) Suppose this processor can be pipelined. What CPI, MIPS rate and speed-up of a pipelined version of this processor is possible to approach if no pipeline hazards are encountered? c) If the instructions contain 20% branch instructions that impose a 25 cycle d) Suppose we introduce branch prediction which works 90% of the time. What e) If we are able to further improve the processor by making a 2-way penalty each time they branch, what is the best CPI this system can attain? CPI can this system attain? 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. 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 InstructionCalculate Fetch Execute Write Fetch Decode erands Instructions Operand 6 cycles erands 6 cycles 2 cycles 3 cycles 3 cycles 5 cycles a) What is the CPI and MIPS rate of the non-pipelined processor? b) Suppose this processor can be pipelined. What CPI, MIPS rate and speed-up of a pipelined version of this processor is possible to approach if no pipeline hazards are encountered? c) If the instructions contain 20% branch instructions that impose a 25 cycle d) Suppose we introduce branch prediction which works 90% of the time. What e) If we are able to further improve the processor by making a 2-way penalty each time they branch, what is the best CPI this system can attain? CPI can this system attain? 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started