Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer fast, thanks. Instructions: You will need additional pages, put your name at the top of each page and identify the question that you

Please answer fast, thanks. image text in transcribed
Instructions: You will need additional pages, put your name at the top of each page and identify the question that you are answering. Please stay within the margins (roughly 1 inch). Dr. Morris 1. Do not cram everything on this page. Use additional blank sheets if needed. Be sure to put your name, homework 3 , and the question number at the top. Recall the IEEE Std 754 binary 32 and binary 64 formats we looked at in class. We can postulate a similar albeit smaller binary 16 floating-point number format. Let us suppose that binary 16 has a sign bit, a 6 -bit biased exponent, where bias =2611=31, and a 9 -bit fraction with an implied leading 1 bit. (a) (5 pts.) Show the binary 16 hex representation for the decimal floating-point value q=5.25 (b) (5 pts.) Show the decimal floating-point value for the binary 16 hex representation 04588 (c) (5 pts.) Show the addition (in the IEEE Std 754 sense) of the values given in parts (a) and (b). (d) (5 pts.) Show the multiplication (in the IEEE 754 sense) of the values given in parts (a) and (b). 2. (5 pts.) Two enhancements are being considered for a code that uses floating-point operations 60 percent of the time; enhancement 1) make all instructions run 1.75 times faster, and enhancement 2) make floating-point instructions run four times faster. Use Amdahl's Law to determine which enhancement is better. Note that enhancement 1) has a speedup of 1.75 by definition, i.e., no calculations are needed

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

Students also viewed these Databases questions