Floating-Point Multiply-Add Unit Denormal Number Handling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional floating-point processing units face inefficiencies in handling denormalized numbers, requiring explicit conversion outside the pipeline, which adds latency and complexity, especially during multiply-add operations.

Innovation Solution

The floating-point multiply-add unit (FMAC) is configured to natively process denormalized numbers by determining a minimum exponent shift and left shifting the result, allowing native processing of denormalized operands without additional cycles or register file tagging, thereby supporting denormalized numbers in floating-point operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If explicit conversion outside the pipeline is used to handle denormalized numbers, then denormalized number processing is achieved, but execution latency increases and device complexity increases

Engineering Contradiction:
Improvedenormalized number processing capabilityVSAvoidexecution latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent merges the denormalized number handling functionality directly into the FMAC pipeline by integrating a denormal detector and converter unit within the existing multiply-add structure. This allows denormalized operand detection and conversion to occur concurrently with the main computation flow, eliminating the need for separate external conversion steps and reducing execution latency.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent implements preliminary detection and conversion of denormalized numbers at the input stage of the FMAC pipeline. By identifying denormalized operands before they enter the main computation path and converting them to normalized form in advance, the system prevents latency issues during the critical computation phase while maintaining full denormalized number support.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If explicit conversion outside the pipeline is used to handle denormalized numbers, then denormalized number processing is achieved, but device complexity increases

Engineering Contradiction:
Improvedenormalized number processing capabilityVSAvoidprocessing unit complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent combines the denormal detection logic, conversion unit, and existing FMAC computation logic into a unified pipeline structure. By sharing resources such as the exponent comparison logic and integration with the existing normalization unit, the patent reduces the additional complexity that would arise from completely separate external conversion circuits.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent designs the FMAC pipeline to handle both normalized and denormalized numbers through a universal processing path. The integrated denormal detector and converter enable the same hardware structure to process both number types without requiring separate dedicated circuits, thereby reducing overall device complexity while maintaining full functionality.

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

3Loss of time

If native processing of denormalized numbers is implemented within the FMAC, then execution latency is reduced, but device complexity increases

Engineering Contradiction:
Improveexecution latencyVSAvoidFMAC structure complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent performs denormalized number detection and conversion at the earliest possible stage within the FMAC pipeline, before the main computation begins. This preliminary action allows the converted normalized values to flow through the rest of the pipeline without delay, achieving low latency while concentrating the additional complexity only in the input handling stage.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary denormal detector and converter unit that acts as a bridge between the input stage and the main FMAC computation pipeline. This intermediary component translates denormalized inputs into normalized form using controlled left-shifting operations, enabling seamless integration with the existing pipeline architecture while managing complexity through modular design.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9317250B2Floating point multiply-add unit with denormal number support
Publication Date: 2016.04.19 ADVANCED MICRO DEVICES INC
  • US9317250B2 patent drawing
  • US9317250B2 patent drawing
  • US9317250B2 patent drawing

AI summary

The present application provides a method and apparatus for supporting denormal numbers in a floating point multiply-add unit (FMAC). One embodiment of the FMAC is configurable to add a product of first and second operands to a third operand. This embodiment of the FMAC is configurable to determine a minimum exponent shift for a sum of the product and the third operand by subtracting a minimum normal exponent from a product exponent of the product. This embodiment of the FMAC is also configurable to cause bits representing the sum to be left shifted by the minimum exponent shift if a third exponent of the third operand is less than or equal to the product exponent and the minimum exponent shift is less than or equal to a predicted left shift for the sum.