Integer-Floating Point Conversion Circuit for Single-Instruction Quantization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computer processors face inefficiencies in converting between integer and floating-point data formats, particularly in machine learning applications, leading to reduced throughput and impaired ability to provide inputs to consuming circuitry due to the need for multiple instructions.

Innovation Solution

Incorporating up-conversion and down-conversion circuitry within datapath circuitry of a graphics processor to support single-instruction quantization and de-quantization operations, allowing for improved throughput by converting integer results to floating-point results directly within the matrix multiply accelerator.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional multiple instructions are used for conversion operations, then conversion accuracy is maintained, but throughput is reduced and processing time increases

Engineering Contradiction:
ImprovethroughputVSAvoidconversion time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent combines multiple conversion operations (quantization and de-quantization) into a single integrated circuit unit within the datapath. This merging eliminates the need for separate instructions for each conversion step, allowing both operations to be performed in one processing cycle, thereby improving throughput and reducing conversion time while maintaining accuracy.

Inventive Principle:
Principle #5Merging (Combining)

2Ease of operation

If multiple conversion instructions are used, then data format flexibility is maintained, but device complexity increases and processing efficiency decreases

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidinstruction complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The conversion circuit is designed as a universal unit that can perform both quantization (floating-point to integer) and de-quantization (integer to floating-point) operations within a single circuit structure. This multi-functional design simplifies the instruction set by eliminating the need for separate conversion instructions, thereby improving processing efficiency without significantly increasing device complexity.

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

Data Source

PatentUS20250355665A1Hardware Support for Conversion between Integer and Floating-Point Data
Publication Date: 2025.11.20 APPLE INC
  • US20250355665A1 patent drawing
  • US20250355665A1 patent drawing
  • US20250355665A1 patent drawing

AI summary

Techniques are disclosed relating to conversion operations in the context of integer and floating-point processor operations. Decode circuitry may decode an instruction that specifies to convert an N-bit integer value to an M-bit floating-point result. The instruction may indicate the N-bit integer value, a quantization scale factor value, and a zero-point value. Floating-point pipeline circuitry may execute the decoded instruction to generate the M-bit floating-point result based on the N-bit integer value, the quantization scale factor value, and the zero-point value.