Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4: Computer Abstractions and Technology We are interested in two implementations of a machine, one with and one without special floating-point hardware Consider a

image text in transcribed
image text in transcribed
Question 4: Computer Abstractions and Technology We are interested in two implementations of a machine, one with and one without special floating-point hardware Consider a program, P. with the following mix of operations: Floating-point 10% Floating point add 15% Floating point divide 5% Integer instructions 70% Machine MFP (Machine with Floating Point) has floating-point hardware and can therefore implement the operations directly. It requires the following number of clock cycles for each instruction class Floating-point 6 Floating-point add 4 Floating point divide 20 Integer instructions 2 Machine MNFP (Machine with No Floating Point) has no floating-point hardware and so must emulate the floating-point operations using integer instructions. The integer instructions all take 2 clock cycles. The number of integer instructions needed to implement each of the floating point operations is as follows: Floating-point 30 Floating point add 20 Floating point divide 50 Both machines have a clock rate of 1000 MHz. Fine the native MIPS rating for both machines. Which machine is faster and by how much? If the machine MFP needs 300 million instructions for this program, how many integer instructions does the machine MNFP require for the same program? Question 5: Computer Abstractions and Technology You are the lead designer of a new processor. The processor design and compiler are complete, and now you must decide whether to produce the current design as it stands or spend additional time to improve it. You discuss this problem with your hardware engineering team and arrive at the following options a. Leave the design as it stands. Call this base machine Mbase. It has a clock rate of 500 MHz, and the following measurements have been made using a simulator: Instruction class CPI 2 Frequency 40% B D 3 3 5 25% 25% 10% b. Optimize the hardware. The hardware team claims that it can improve the processor design to give it a clock rate of 600 MHz. Call this machine Mopf. The following measurements ere made using a simulator for Mopt Instruction class A B CPI 2 2 3 Frequency 40% 25% 25% 10% D 4 i. What is the CPI for each machine? ii. What are the native MIPS ratings for Mbase and Mopt? iii. How much faster is Mopt than Mbase

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

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

Create messages for global audiences

Answered: 1 week ago