# US 2018/0203670 A1 · Decimal floating point instructions to perform directly on compressed decimal floating point data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0203670 A1
- Document ID: US20180203670A1
- Status: Published application
- Kind: A1
- Application number: 15/406,818
- Filed: 2017-01-16
- Published: 2018-07-19
- Earliest claimed: 2017-01-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Steven R. Carlough; Petra Leber; Silvia Melitta Mueller; Kerstin Schelm
- Web page: https://patentgrep.com/patent/US20180203670A1

## CPC

- G06F 7/4991: {Overflow or underflow}
- G06F 7/491: Computations with decimal numbers {radix 12 or 20. (G06F7/4824 takes precedence)}
- G06F 2207/4911: Decimal floating-point representation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Processing within a computing environment is facilitated. An operand of an instruction is obtained, which includes decimal floating point data encoded in a compressed format. An operation is performed on the operand absent decompressing a source value of a trailing significand of the decimal floating point data in the compressed format.

## Claims

### Claim 1

A computer system to facilitate processing in a computing environment, the computer system comprising:
a memory; and
a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising:
obtaining an operand of an instruction, the operand including decimal floating point data encoded in a compressed format; and
performing an operation on the operand absent decompressing a source value of a trailing significand of the decimal floating point data encoded in the compressed format.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein the performing the operation comprises converting the operand to another format, wherein the converting comprises converting the source value to a target value of the trailing significand, the converting the source value being performed absent decompressing the source value in the compressed format.

### Claim 3 (depends on 2)

The computer system of claim 2, wherein the converting the operand further comprises decoding at least part of a combination field of the decimal floating point data to generate type information, the type information to be used in the converting the source value of the trailing significand.

### Claim 4 (depends on 3)

The computer system of claim 3, wherein the decoding further comprises generating a most significant digit to be used in the converting the source value of the trailing significand.

### Claim 5 (depends on 4)

The computer system of claim 4, wherein the converting the source value comprises making one or more declets of the trailing significand canonical providing a canonical trailing significand, the canonical trailing significand used to provide the target value of the trailing significand.

### Claim 6 (depends on 5)

The computer system of claim 5, wherein the instruction comprises a load lengthened instruction, and wherein the converting the source value further comprises appending a plurality of zeros and the most significant digit to the canonical trailing significand to provide an intermediate value used to provide the target value of the trailing significand.

### Claim 7 (depends on 6)

The computer system of claim 6, wherein the converting the source value further comprises:
determining whether the intermediate value is to be forced to zero, the determining using the type information;
setting the target value of the trailing significand to zero, based on determining the intermediate value is to be forced to zero; and
setting the target value of the trailing significand to the intermediate value, based on determining the intermediate value is not to be forced to zero.

### Claim 8 (depends on 1)

The computer system of claim 1, wherein the instruction comprises an instruction selected from a group consisting of: a load lengthened instruction, a load and test instruction, a test data class instruction, and a test data group instruction.

### Claim 9 (depends on 1)

The computer system of claim 1, wherein the performing the operation comprises performing a test operation on the operand and generating a condition code.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein the test operation comprises performing a compare operation using the operand, wherein the compare operation is performed absent decompressing a source value of the trailing significand of the operand.

### Claim 11

A computer program product to facilitate processing in a computing environment, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
obtaining an operand of an instruction, the operand including decimal floating point data encoded in a compressed format; and
performing an operation on the operand absent decompressing a source value of a trailing significand of the decimal floating point data encoded in the compressed format.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the performing the operation comprises converting the operand to another format, wherein the converting comprises converting the source value to a target value of the trailing significand, the converting the source value being performed absent decompressing the source value in the compressed format.

### Claim 13 (depends on 11)

The computer program product of claim 11, wherein the instruction comprises an instruction selected from a group consisting of: a load lengthened instruction, a load and test instruction, a test data class instruction, and a test data group instruction.

### Claim 14 (depends on 11)

The computer program product of claim 11, wherein the performing the operation comprises performing a test operation on the operand and generating a condition code.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein the test operation comprises performing a compare operation using the operand, wherein the compare operation is performed absent decompressing a source value of the trailing significand of the operand.

### Claim 16

A computer-implemented method of facilitating processing in a computing environment, the computer-implemented method comprising:
obtaining, by a processor, an operand of an instruction, the operand including decimal floating point data encoded in a compressed format; and
performing an operation on the operand absent decompressing a source value of a trailing significand of the decimal floating point data encoded in the compressed format.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein the performing the operation comprises converting the operand to another format, wherein the converting comprises converting the source value to a target value of the trailing significand, the converting the source value being performed absent decompressing the source value in the compressed format.

### Claim 18 (depends on 16)

The computer-implemented method of claim 16, wherein the instruction comprises an instruction selected from a group consisting of: a load lengthened instruction, a load and test instruction, a test data class instruction, and a test data group instruction.

### Claim 19 (depends on 16)

The computer-implemented method of claim 16, wherein the performing the operation comprises performing a test operation on the operand and generating a condition code.

### Claim 20 (depends on 19)

The computer-implemented method of claim 19, wherein the test operation comprises performing a compare operation using the operand, wherein the compare operation is performed absent decompressing a source value of the trailing significand of the operand.
