Floating-Point Scalar Comparison Flags for Unordered Conditions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computer architectures face challenges in efficiently comparing floating-point values due to the unordered relationship, which complicates the evaluation of relationships between floating-point values and interferes with using the comparison result to evaluate multiple relationships, requiring additional instructions and interfering with branch prediction.

Innovation Solution

Implementing floating-point scalar comparison instructions that utilize the distinction between signed and unsigned integer comparisons to allow analogous distinctions between floating-point relationship reductions, reducing the number of instructions needed and simplifying the evaluation of unordered conditions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If floating-point comparison instructions are implemented to evaluate relationships between floating-point values, then the ability to determine ordering relationships is improved, but the complexity of evaluating multiple relationships increases due to the unordered relationship

Engineering Contradiction:
Improveability to evaluate floating-point relationshipsVSAvoidcomplexity of evaluating multiple relationships
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the comparison result into multiple independent flags (greater-than flag, less-than flag, equal flag, unordered flag) rather than using a single comparison result. This allows each flag to independently represent a specific relationship aspect, enabling complex relationship evaluation without increasing instruction complexity. The flag-based segmentation resolves the contradiction by providing fine-grained relationship information while maintaining simple comparison instructions.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If additional instructions are used to handle unordered conditions in floating-point comparisons, then the accuracy of relationship evaluation is improved, but the number of instructions and device complexity increases

Engineering Contradiction:
Improveaccuracy of relationship evaluationVSAvoidnumber of instructions
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The comparison instruction set serves itself by automatically setting appropriate flags based on the comparison result, eliminating the need for separate instructions to handle unordered conditions. The architecture uses the existing comparison hardware to simultaneously produce all necessary relationship information (greater-than, less-than, equal, and unordered flags), making the system self-sufficient and avoiding additional instruction complexity while maintaining evaluation accuracy.

Inventive Principle:
Principle #25Self-service

3Adaptability or versatility

If floating-point comparison results are used to evaluate multiple relationships, then the versatility of the comparison operation is improved, but branch prediction accuracy deteriorates due to interference from unordered conditions

Engineering Contradiction:
Improveversatility of comparison operationVSAvoidbranch prediction accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent introduces flag registers as intermediary elements between the comparison operation and branch instructions. Instead of directly using comparison results for branching, the flags serve as intermediaries that clearly indicate the relationship status. This intermediary layer allows branch instructions to make accurate predictions based on explicit flag states rather than complex comparison results, resolving the contradiction between versatility and branch prediction accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12608202B2Floating-point scalar comparison with enhanced flags
Publication Date: 2026.04.21 INTEL CORP
  • US12608202B2 patent drawing
  • US12608202B2 patent drawing
  • US12608202B2 patent drawing

AI summary

Detailed herein are examples of instructions and their hardware support for floating-point comparison that makes use of the distinction between signed integer comparison and unsigned integer comparison to make an analogous distinction between floating-point relationships including unordered and those that do not. These instructions may reduce the number of instructions required to compare and conditionally execute operations in a program, including instructions to load values and instructions to explicitly test for the unordered condition.