FP Addition and Subtraction Hardware


The following figure sketches the basic organization of hardware for floating-point addition and subtraction. Each of the steps of the previous algorithm corresponds to one block, from top to bottom.
  1. First, the exponent of one operand is subtracted from the other using the small ALU to determine which is larger and by how much.

  2. This difference controls the three multiplexors; they select the larger exponent, the significand of the smaller number, and the significand of the larger number.

  3. The significand of the smaller number is shifted right, and then the significands are added together using the big ALU.

  4. The normalization step then shifts the sum left or right and increments or decrements the exponent. Rounding then creates the final result, which may require normalizing again to produce the final result.