The application discloses a hardware-
multiplexing-based floating-point addition and
rounding off
tail bit
processing device and method, relates to the technical field of
microprocessor design, and comprises: a scale shift
multiplexing circuit, which is used for performing an exponent alignment operation on a first floating-point
operand and a second floating-point
operand, performing
tail number
right shift processing on the smaller floating-point
operand in the aligned first floating-point operand and the aligned second floating-point operand, and extracting a target
tail bit discarded in the tail number
right shift processing process; a sign exponent splicing circuit, which is used for obtaining a target
sign bit and a target exponent output by a main operation unit, splicing the target
sign bit, the target exponent and a target tail bit, and generating an intermediate floating-point number; and a normalization
multiplexing circuit, which is used for taking the intermediate floating-point number as a third floating-point operand, constructing a virtual operand as a fourth floating-point operand, performing a floating-point addition operation on the third floating-point operand and the fourth floating-point operand, and outputting a normalized floating-point number. High-precision intermediate results in iterative calculation are obtained.