Zoned to Decimal Floating Point Conversion Instructions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional storage-to-storage decimal operations in computing environments face performance limitations due to memory latency, as they rely on storage operations that wait for previous results to be written before proceeding, leading to decreased performance as processor speed outpaces memory latency.

Innovation Solution

The introduction of machine instructions that convert data from EBCDIC or ASCII formats to decimal floating point formats within the central processing unit, allowing direct processing in registers without memory overhead, such as the long Convert from Zoned (CDZT) and extended Convert from Zoned (CXZT) instructions, which read data from memory, convert it to decimal floating point format, and write it to registers, and their reverse operations to efficiently handle decimal data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If storage-to-storage decimal operations are used to process numerical decimal data, then data can be processed directly on storage, but performance is limited by memory latency and decreases as processor speed outpaces memory latency

Engineering Contradiction:
Improveprocessing speedVSAvoidmemory latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the data processing operation into two distinct phases: (1) converting zoned format data to decimal floating point format and loading it into processor registers, and (2) performing arithmetic operations on the data while it resides in registers. This segmentation allows the time-consuming format conversion to occur during data loading, enabling subsequent operations to proceed without memory latency penalties.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs format conversion as a preliminary action during the data loading phase. The convert from zoned to decimal floating point operation is executed before the data is needed for arithmetic computations, so that when the data reaches the processor, it is already in the required format and can be processed immediately without waiting for additional memory operations.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If operations wait for previous results to be written to storage before proceeding, then data integrity is maintained, but performance decreases due to sequential dependency

Engineering Contradiction:
Improveoperation throughputVSAvoidoperation dependency
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces processor registers as an intermediary storage between main memory and the arithmetic operation units. Data is first converted to decimal floating point format and placed in registers, which serve as a fast intermediate workspace. This allows multiple operations to be performed on the data in sequence without requiring writes back to slow main memory between each operation, thereby reducing operation dependencies while maintaining data integrity within the register file.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of time

If data is converted and processed in multiple steps with memory operations, then accuracy is maintained, but processing time increases

Engineering Contradiction:
Improveconversion timeVSAvoiddata accuracy
Core Design Contradiction:
Loss of timeVSMeasurement precision

Solution Approach 1:

The patent merges the format conversion operation and the data loading operation into a single unified instruction sequence. The convert from zoned to decimal floating point operation is combined with the load operation, so that the data is converted and loaded in one atomic sequence without intermediate memory writes. This merging eliminates redundant memory access cycles while preserving the precision of the conversion through the use of dedicated decimal floating point arithmetic units that maintain exact decimal representation throughout the operation.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10303478B2Convert from zoned format to decimal floating point format
Publication Date: 2019.05.28 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10303478B2 patent drawing
  • US10303478B2 patent drawing
  • US10303478B2 patent drawing

AI summary

Machine instructions, referred to herein as a long Convert from Zoned instruction (CDZT) and extended Convert from Zoned instruction (CXZT), are provided that read EBCDIC or ASCII data from memory, convert it to the appropriate decimal floating point format, and write it to a target floating point register or floating point register pair. Further, machine instructions, referred to herein as a long Convert to Zoned instruction (CZDT) and extended Convert to Zoned instruction (CZXT), are provided that convert a decimal floating point (DFP) operand in a source floating point register or floating point register pair to EBCDIC or ASCII data and store it to a target memory location.