Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

4 (15 pts) Suppose that when a certain processor is running an intense mathematical benchmark, 60% of the instructions are floating-point instructions (20% compute a

image text in transcribed

4 (15 pts) Suppose that when a certain processor is running an intense mathematical benchmark, 60% of the instructions are floating-point instructions (20% compute a square root, and 40% are other floating-point computations). Refer to the table for the CPIs for different types of instructions. Percentage (Freqi) 40% ; 2 Instruction distribution non-floating-point instructions square root floating- point instructions other floating-point instructions 20% 10 5 40% a) What is the overall average CPI when the processor is running the benchmark? b) What is the average CPI for all floating-point instructions (including the square root and other floating- point instructions)? c) Suppose you have a choice between speeding up all floating-point instructions by a factor of 3 versus speeding up the floating-point square root instruction by a factor of 100. What is the overall speedup resulting from each possible choice? Assuming that the two choices require equal effort, which is the better choice? 4 (15 pts) Suppose that when a certain processor is running an intense mathematical benchmark, 60% of the instructions are floating-point instructions (20% compute a square root, and 40% are other floating-point computations). Refer to the table for the CPIs for different types of instructions. Percentage (Freqi) 40% ; 2 Instruction distribution non-floating-point instructions square root floating- point instructions other floating-point instructions 20% 10 5 40% a) What is the overall average CPI when the processor is running the benchmark? b) What is the average CPI for all floating-point instructions (including the square root and other floating- point instructions)? c) Suppose you have a choice between speeding up all floating-point instructions by a factor of 3 versus speeding up the floating-point square root instruction by a factor of 100. What is the overall speedup resulting from each possible choice? Assuming that the two choices require equal effort, which is the better choice

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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