FP16-to-BF8 Conversion Instructions for AI Memory Bandwidth Limits

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current AI systems face bandwidth and memory utilization issues when using 32-bit and 16-bit floating point formats, particularly in matrix operations, leading to modest memory subsystem capabilities despite significant compute speedups, and existing conversion methods from IEEE FP16 to BF8 are slow and inefficient.

Innovation Solution

Implement hardware-assisted instructions, such as VCVTNEPH2BF8 and VCVTNE2PH2BF8, to convert FP16 values to BF8 using nearest even rounding, optimizing memory usage and performance by truncating and rounding FP16 data elements to BF8 within packed data vectors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If 32-bit and 16-bit floating point formats are used in AI systems, then compute speedup is achieved, but memory bandwidth and memory utilization become bottlenecks

Engineering Contradiction:
Improvecompute speedupVSAvoidmemory bandwidth utilization
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent changes the data format parameter from traditional 32-bit or 16-bit floating point to 8-bit floating point (BF8), fundamentally altering the memory footprint and bandwidth requirements while maintaining computational capability for AI workloads

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If existing conversion methods from IEEE FP16 to BF8 are used, then format conversion is achieved, but conversion speed is slow and efficiency is poor

Engineering Contradiction:
Improveformat conversion accuracyVSAvoidconversion speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent replaces software-based conversion mechanisms with hardware-assisted conversion instructions (VCVTNEPH2BF8, VCVTNE2PH2BF8) that execute directly on the processor, dramatically accelerating the conversion speed while maintaining precision

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS12423102B2Instructions to convert from FP16 to BF8
Publication Date: 2025.09.23 INTEL CORP
  • US12423102B2 patent drawing
  • US12423102B2 patent drawing
  • US12423102B2 patent drawing

AI summary

Techniques for converting FP16 data elements to BF8 data elements using a single instruction are described. An exemplary apparatus includes decoder circuitry to decode a single instruction, the single instruction to include a one or more fields to identify a source operand, one or more fields to identify a destination operand, and one or more fields for an opcode, the opcode to indicate that execution circuitry is to convert packed half-precision floating-point data from the identified source to packed bfloat8 data and store the packed bfloat8 data into corresponding data element positions of the identified destination operand; and execution circuitry to execute the decoded instruction according to the opcode to convert packed half-precision floating-point data from the identified source to packed bfloat8 data and store the packed bfloat8 data into corresponding data element positions.