Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Assume a workload that 20% of the total number of operations are floating point operations. On average, floating point operations take 8 cycles (i.e., CPI

image text in transcribed

Assume a workload that 20% of the total number of operations are floating point operations. On average, floating point operations take 8 cycles (i.e., CPI for floating point operations is 8). The rest of the instructions take 1.5 cycles, on average (i.e., CPI is 1.5 for the rest of the instructions). Among the floating point operations, there is one particular operation that takes 20 cycles (let's call it fpX), and it accounts for 5% of the overall number of instructions. Assume that we came up with two different optimizations to improve the performance. The first optimization reduces the CPI of the fpX (which is a floating point operation that takes 20 cycles) to 5. The second optimization reduces the average CPI of all floating point operations to 3. Calculate the overall CPI under two optimizations and find which optimization is better. Assume a workload that 20% of the total number of operations are floating point operations. On average, floating point operations take 8 cycles (i.e., CPI for floating point operations is 8). The rest of the instructions take 1.5 cycles, on average (i.e., CPI is 1.5 for the rest of the instructions). Among the floating point operations, there is one particular operation that takes 20 cycles (let's call it fpX), and it accounts for 5% of the overall number of instructions. Assume that we came up with two different optimizations to improve the performance. The first optimization reduces the CPI of the fpX (which is a floating point operation that takes 20 cycles) to 5. The second optimization reduces the average CPI of all floating point operations to 3. Calculate the overall CPI under two optimizations and find which optimization is better

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

Recommended Textbook for

Fundamental Managerial Accounting Concepts

Authors: Thomas Edmonds, Christopher Edmonds, Bor Yi Tsay, Philip Olds

8th edition

978-1259569197

Students also viewed these Accounting questions