GPU Fused SHA-2 Instruction for Lower Register Bandwidth

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional graphics processors face inefficiencies in processing cryptographic hashing algorithms like SHA-2 due to the high number of discrete instructions required, which increases register read/write bandwidth and overall throughput.

Innovation Solution

Implement a fused instruction in a graphics processing unit (GPU) to accelerate SHA-2 operations by combining multiple operations into a single instruction, optimizing register usage and improving throughput.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If conventional discrete instructions are used to process SHA-2 operations in a graphics processor, then the operations can be performed using standard instruction sets, but the number of instructions increases register read/write bandwidth and reduces processing efficiency

Engineering Contradiction:
Improvecompatibility with standard instruction setsVSAvoidprocessing efficiency of SHA-2 operations
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent combines multiple discrete instructions (rotate/shift, Boolean function, and add operations) into a single fused instruction that executes all operations atomically in one cycle, eliminating the need for multiple separate instruction executions and their associated register access overhead

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The fused instruction unit is designed to handle multiple cryptographic operations (SHA-256, SHA-512, and other hash algorithms) through a single instruction format, allowing the same hardware unit to perform diverse cryptographic functions without requiring separate specialized units for each operation

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

2Adaptability or versatility

If multiple discrete instructions are used for SHA-2 operations, then flexibility in operation sequencing is maintained, but the overall throughput of the graphics processor decreases

Engineering Contradiction:
Improveflexibility in operation sequencingVSAvoidthroughput of SHA-2 operations
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

By merging multiple operations into a single atomic instruction that executes in one cycle, the patent eliminates the sequential execution overhead and register access delays that would otherwise limit throughput, while still maintaining algorithmic flexibility through support for various SHA-2 variants and cryptographic operations

Inventive Principle:
Principle #5Merging (Combining)

3Device complexity

If discrete instructions are used for cryptographic hashing, then standard graphics processor architectures can be utilized, but the register read/write bandwidth is excessively consumed

Engineering Contradiction:
Improveuse of standard graphics processor architectureVSAvoidregister read/write bandwidth consumption
Core Design Contradiction:
Device complexityVSQuantity of substance

Solution Approach 1:

The fused instruction combines multiple operations that would otherwise require separate register reads and writes into a single atomic execution unit, thereby reducing the total number of register access operations and bandwidth consumption while maintaining compatibility with standard graphics processor architectures

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20260074883A1Fused instruction to accelerate performance of secure hash algorithm 2 (SHA-2) workloads in a graphics environment
Publication Date: 2026.03.12 INTEL CORP
  • US20260074883A1 patent drawing
  • US20260074883A1 patent drawing
  • US20260074883A1 patent drawing

AI summary

An apparatus to facilitate a fused instruction to accelerate performance of secure hash algorithm 2 (SHA-2) in a graphics environment is disclosed. The apparatus includes a processor comprising processing resources, the processing resources comprising execution circuitry to receive a fused SHA instruction identifying a length corresponding to a data size of the fused SHA instruction and a functional control identifying an operation type of the fused SHA instruction; based on decoding the fused SHA instruction, cause a sub-function identified by the length and the function control to be scheduled to an integer pipeline of the execution resource; and execute the sub-function of the fused SHA instruction in an integer pipeline of the execution circuitry, the sub-function to perform merged operations on a source operand of the fused SHA instruction, the merged operations comprising a rotate operation, a shift operation, and an xor operation.