Shared rounding hardware for multiplier and divider/square root unit using conditional sum adder
AssigneeSun Microsystems, Inc.
InventorsRobert K. Yu, Grzegorz B. Zyner
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsRobert K. Yu, Grzegorz B. Zyner
Estimating the term…
A floating point mantissa final addition and rounding unit uses a conditional sum adder to reduce a redundant carry-save format 106-bit mantissa to a non-redundant properly rounded 53-bit double-precision mantissa. The conditional sum adder simultaneously speculatively computes both the sum and the incremented sum of the upper 52 bits of the carry-save portions. A rounding unit speculatively computes the lower one bit and two bits of the mantissa for the cases of mantissa overflow or non-overflow, respectively. The rounding unit produces an overflow carry signal and a non-overflow carry signal. A multiplexor selects the proper 53 mantissa output bits from among the two conditional sum adder outputs and the rounding unit mantissa outputs depending upon the most significant bits of the two conditional sum adder outputs and the overflow and non-overflow carry signals. The floating point mantissa final addition and rounding unit is used to perform the final addition and rounding for a multiplier that produces a 106-bit carry-save result and for a division/square root unit that produces a 56-bit non-redundant result. A multiplexor selects the input from among the multiplier carry-save result and the division/square root unit non-redundant result. When the division/square root result is selected, the carry portion and the less significant 50 bits of the sum portion are set equal to zero. When a non-redundant result is input into the final addition and rounding unit, the conditional sum adder acts merely as an incrementer.
An apparatus that produces a rounded mantissa output, the apparatus comprising:
A mantissa final addition and rounding unit that has a mantissa carry input and a mantissa sum input and that produces a rounded mantissa output, the mantissa final addition and rounding unit comprising:
An apparatus that produces a rounded mantissa output, the apparatus comprising:
A mantissa final addition and rounding unit that takes a mantissa carry input and a mantissa sum input and that produces a rounded mantissa output, the mantissa final addition and rounding unit comprising:
A method of providing a floating point unit that produces a rounded mantissa output, the method comprising steps of:
Dependencies are inferred from the claim text.