09-03-2012, 04:16 PM
INSTRUCTOR’S MANUAL FORVolume 2: Presentation Material
[attachment=18177]
Preface to the Instructor’s Manual
This instructor’s manual consists of two volumes. Volume 1 presents solutions to selected
problems and includes additional problems (many with solutions) that did not make the cut for
inclusion in the text Computer Arithmetic: Algorithms and Hardware Designs (Oxford
University Press, 2000) or that were designed after the book went to print. Volume 2 contains
enlarged versions of the figures and tables in the text as well as additional material, presented in
a format that is suitable for use as transparency masters.
Aspects of multiplication by integer constants:
Produce efficient code using as few registers as possible
Find the best code by a time/space-efficient algorithm
Unpacking of the operands involves:
Separating sign, exponent, and significand
Reinstating the hidden 1
Converting the operands to the internal format
Testing for special operands and exceptions
Packing of the result involves:
Combining sign, exponent, and significand
Hiding (removing) the leading 1
Testing for special outcomes and exceptions
[Converting internal to external representation,
if required, must be done at the rounding stage]
Other key parts of a floating-point adder:
significand aligner or preshifter: Section 18.2
result normalizer or postshifter, including
leading 0s detector/predictor: Section 18.2
rounding unit: Section 18.3
sign logic: Problem 18.2