Processing denormal numbers in FMA hardware
AssigneeVia Alliance Semiconductor Co., Ltd.
InventorThomas Elmer
Life of this patent
Estimating the term…
Loading patent…
AssigneeVia Alliance Semiconductor Co., Ltd.
InventorThomas Elmer
Estimating the term…
A microprocessor includes FMA execution logic that determines whether to accumulate an accumulator operand C to the partial products of multiplier and multiplicand operands A and B in the partial product adder or in a second accumulation stage. The logic calculates an exponent delta of Aexp+Bexp−Cexp and determines the number of leading zeroes in C, if C is denormal. The microprocessor accumulates C with the partial products of A and B when the accumulation of C to the product of A and B could result in mass cancellation, when ExpDelta is greater than or equal to −K (where K is related to a width of a datapath in the partial product adder), and when a C is denormal and its number of leading zeroes plus K exceeds −ExpDelta. The strategic use of resources in the partial product adder and second accumulation stage reduces latency.
A method in a microprocessor of executing an FMA instruction having multiplier, multiplicand, and accumulator operands, each having a significand and an exponent, and for handling a special case in which the accumulator operand is denormal and a product of the multiplier and multiplicand operands would result in an underflow, the method comprising:
A microprocessor comprising:
Dependencies are inferred from the claim text.