Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 6 : To compute a floating - point square root, a computer uses a sequence of floating - point operations as it does not

Problem 6:
To compute a floating-point square root, a computer uses a sequence of floating-point operations as it does not
support square root operations in hardware. i.e., there is no instruction to compute the square root in one step.
Suppose we have made the following measurements:
frequency of all floating-point operations (including square root operations)=25%
CPI of all floating-point operations (including square root operations)=4
, CPI of non floating-point operations =2
frequency of floating-point square root operations =5%
CPI of floating-point square root operations =20
Which of the following two design alternatives will improve the performance of the computer better?
a. Reduce the CPI of all floating-point operations to 2.5
b. Add floating-point square root operations in hardware to reduce their CPI to 4 without changing the CPI
of the remaining floating-point operations.
image text in transcribed

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

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

=+ Consider practical approaches to policy development.

Answered: 1 week ago

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago