Floating Point Adder with Prediction Circuitry for Fused Multiply Accumulate

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing floating point adder units face performance issues due to the need for separate near and far paths, which complicates the execution of fused multiply accumulate operations and requires additional pipeline stages for rounding, especially when handling unrounded multiplication results.

Innovation Solution

The proposed solution involves prediction circuitry to generate a shift indication for pre-normalizing the significands of operands, detection of leading bit cancellation conditions, and the use of shared addition circuitry with result pre-normalization to perform additions efficiently, eliminating the need for separate near and far paths.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If separate near and far paths are used for floating point addition, then normalization accuracy is improved, but device complexity increases and execution time increases due to additional pipeline stages

Engineering Contradiction:
Improvenormalization accuracyVSAvoidadder unit complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent merges the separate near path and far path into a single unified adder unit. The selection between different addition modes (near path or far path) is dynamically controlled by a selector based on the relationship between input exponents, eliminating the need for physically separate processing paths while maintaining the accuracy benefits of both approaches.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent introduces dynamic control logic that determines at runtime whether to apply near path or far path processing based on the exponent relationship of the inputs. This dynamic selection allows the system to adapt to different input conditions without requiring static separate paths for each case, reducing overall device complexity while preserving normalization accuracy.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If separate near and far paths are used for floating point addition, then normalization accuracy is improved, but execution time increases due to additional pipeline stages

Engineering Contradiction:
Improvenormalization accuracyVSAvoidaddition execution time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The dynamic selection mechanism allows the system to choose the faster near path when applicable (when exponents differ by at most 1) and only use the far path when necessary. This reduces the average execution time compared to always using the far path, while still maintaining normalization accuracy through selective application of the appropriate processing mode.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent applies different processing qualities locally based on input characteristics: the near path is used for cases requiring less processing (exponent difference ≤ 1), while the far path is used for cases requiring more processing (exponent difference > 1). This localized application of different processing modes optimizes execution time while maintaining accuracy where needed.

Inventive Principle:
Principle #3Local quality

3Measurement precision

If FMA operations are performed using a separate adder unit, then multiplication accuracy is improved, but productivity decreases due to longer execution time

Engineering Contradiction:
Improvemultiplication accuracyVSAvoidoperation throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent makes the adder unit universal by enabling it to handle both standard floating point addition and FMA operations through the same processing path. The unrounded multiplication result is fed directly into the adder unit, which processes it using the same near/far path selection logic, eliminating the need for a dedicated FMA unit and improving throughput while maintaining accuracy.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent merges the FMA operation into the standard addition pipeline by feeding the unrounded multiplication result directly into the adder unit. This combines the multiplication and addition operations into a single unified processing flow, improving productivity by eliminating the need for separate FMA hardware while preserving multiplication accuracy through the use of unrounded results.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS8965945B2Apparatus and method for performing floating point addition
Publication Date: 2015.02.24 ARM LTD
  • US8965945B2 patent drawing
  • US8965945B2 patent drawing
  • US8965945B2 patent drawing

AI summary

An apparatus and method are provided for performing an addition operation on operands A and B in order to produce a result R, the operands A and B and the result R being floating point values each having a significand and an exponent. The apparatus comprises prediction circuitry for generating a shift indication based on a prediction of the number of leading zeros that would be present in an output produced by subjecting the operands A and B to an unlike signed addition. Further, result pre-normalization circuitry performs a shift operation on the significands of both operand A and operand B prior to addition of the significands, this serving to discard a number of most significant bits of the significands of both operands as determined by the shift indication in order to produce modified significands for operands A and B. Operand analysis circuitry detects, with reference to the exponents of operands A and B, the presence of a leading bit cancellation condition, and addition circuitry is configured, in the presence of the leading bit cancellation condition, to perform an addition of the modified significands for operands A and B, in order to produce the significand of the result R. Such an approach provides a particularly simple and efficient apparatus for performing addition operations.