Question: Microprocessor chips often do not include floating-point operations in their hardware instruction set. Floating-point instructions must then be implemented either by using software functions or
Microprocessor chips often do not include floating-point operations in their hardware instruction set. Floating-point instructions must then be implemented either by using software functions or via the inclusion of a supplementary floating-point chip to be used with the microprocessor chip.
a. Using pseudo code, describe the algorithm for summing two floating-point numbers.
b. Describe the algorithm for multiplying two floating-point numbers together.
c. What might be the performance difference between a floating-point multiplication in a microprocessor having the algorithm implemented in a floating-point chip rather than in a software algorithm? (Answer this question by indicating which method would be faster. Then estimate the difference in speeds by expressing a factor such as 3, 10, 100, and 1000.)
Step by Step Solution
3.41 Rating (173 Votes )
There are 3 Steps involved in it
Note that there are different ways to deal with the sign on the mantissa and exponent such as 2s complement 1s complement or signmagnitude The signmagnitude solution given requires slightly more compl... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
34-E-CE-OS (403).docx
120 KBs Word File
