Answered step by step
Verified Expert Solution
Question
1 Approved Answer
9. (20 pts). We are studying two implementations of a machine, one with and one without special floating-point hardware. Consider a program P with the
9. (20 pts). We are studying 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 multiply Floating-point add Floating-point divide Integer instructions 1 090 15% 5% 70% Machine MFP (Machine with Floating-point) has floating-point hardware and can therefore implement the floating-point operations directly. It requires the following number of clock cvcles for each instruction class Floating point Multiply Floating point Add Floating point Divide Integer instructions 6 cycles 4 cycles 20 cycles 2 cycles Machine MNFP (Machine with No Floating Point) has no floating-point hardware and so must emulate the floating-point operations using integer instructions. Each integer instruction orn MNFP takes 2 clock cycles (so its CPI is 2). The number of integer instructions needed to implement each of the floating-point operations on MNFP is as follows
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