Vector Exception Code for SIMD Element Position Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current computing environments face challenges in efficiently handling exceptions within vector registers, particularly in identifying the specific element causing an exception during SIMD operations, which hinders effective error handling and processing.

Innovation Solution

A method is introduced to determine the position of the element causing an exception within a vector register by generating a vector exception code, allowing for targeted exception handling and processing in computing environments, including the use of specific vector instructions and exception handling mechanisms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If vector instructions are used to process multiple data elements in parallel, then processing speed is improved, but the ability to identify the specific element causing an exception deteriorates

Engineering Contradiction:
Improveprocessing speedVSAvoidexception element identification
Core Design Contradiction:
ProductivityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces an intermediary mechanism (exception handling logic with element position extraction) that mediates between the vector processing unit and the exception handling system. When an exception occurs during SIMD operations, this intermediary extracts the specific element position from the vector exception code, enabling precise identification without sacrificing parallel processing efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If traditional exception handling is used without element position information, then handling simplicity is maintained, but error correction efficiency deteriorates

Engineering Contradiction:
Improveexception handling simplicityVSAvoiderror correction efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent applies preliminary action by pre-computing and storing the element position within the vector exception code itself. This allows the exception handling mechanism to directly retrieve the faulty element position without requiring additional computational steps, thereby maintaining handling simplicity while dramatically improving error correction efficiency.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If element position information is added to exception codes, then error localization precision is improved, but code structure complexity increases

Engineering Contradiction:
Improveerror localization precisionVSAvoidexception code structure
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent merges the element position information with the existing exception code structure by integrating it into the vector exception code format. This consolidation achieves precise error localization without requiring separate data structures or additional memory, thereby improving measurement precision while minimizing increases in overall system complexity.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS9727334B2Vector exception code
Publication Date: 2017.08.08 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9727334B2 patent drawing
  • US9727334B2 patent drawing
  • US9727334B2 patent drawing

AI summary

Vector exception handling is facilitated. A vector instruction is executed that operates on one or more elements of a vector register. When an exception is encountered during execution of the instruction, a vector exception code is provided that indicates a position within the vector register that caused the exception. The vector exception code also includes a reason for the exception.