8051117

Shift Significand of Decimal Floating Point Data

PublishedNovember 1, 2011
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
15 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A computer program product for executing a machine instruction in a central processing unit, the computer program product comprising: a non-transitory computer readable storage medium readable by a processor and storing instructions for execution by the processor for performing a method comprising: obtaining a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising an opcode, one register field, another register field, an index field, a base field and a displacement value; and performing a shift function on the significand of a decimal floating point datum as that function is defined by the opcode of the machine instruction, wherein the significand is stored in a location designated by the one register field, said shift function comprising: shifting in one direction one or more decimal digits of the significand a number of positions specified by a plurality of second operand bits determined using the index field, the base field and displacement value of the machine instruction, wherein the shifting comprises: expanding a portion of the significand in densely packed decimal into that portion of the significand in packed decimal; decoding a combination field of the decimal floating point datum into a biased exponent and another portion of the significand; combining the expanded portion of the significand and the another portion of the significand to create a working format significand; performing shifting on the working format significand; and in response to the performing, combining a portion of the working format significand and the biased exponent to obtain a new combination field, and converting another portion of the working format significand from packed decimal to densely packed decimal; and placing a result of the shift function in a location designated by the another register field.

2

2. The computer program product of claim 1 , wherein the one direction is to the left.

3

3. The computer program product of claim 1 , wherein the one direction is to the right.

4

4. The computer program product of claim 1 , wherein the portion of the significand being expanded is an encoded trailing significand of the decimal floating point datum.

5

5. The computer program product of claim 1 , wherein the another portion of the significand comprises a leftmost digit of the significand of the decimal floating point datum.

6

6. A method of executing a machine instruction in a central processing unit, said method comprising: obtaining, by a processor, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising an opcode, one register field, another register field, an index field, a base field and a displacement value; and performing a shift function on the significand of a decimal floating point datum as that function is defined by the opcode of the machine instruction, wherein the significand is stored in a location designated by the one register field, said shift function comprising: shifting in one direction one or more decimal digits of the significand a number of positions specified by a plurality of second operand bits determined using the index field, the base field and displacement value of the machine instruction, wherein the shifting comprises: expanding a portion of the significand in densely packed decimal into that portion of the significand in packed decimal; decoding a combination field of the decimal floating point datum into a biased exponent and another portion of the significand; combining the expanded portion of the significand and the another portion of the significand to create a working format significand; performing shifting on the working format significand; and in response to the performing, combining a portion of the working format significand and the biased exponent to obtain a new combination field, and converting another portion of the working format significand from packed decimal to densely packed decimal; and placing a result of the shift function in a location designated by the another register field.

7

7. The method of claim 6 , wherein the one direction is to the left.

8

8. The method of claim 6 , wherein the one direction is to the right.

9

9. The method of claim 6 , wherein the portion of the significand being expanded is an encoded trailing significand of the decimal floating point datum.

10

10. The method of claim 6 , wherein the another portion of the significand comprises a leftmost digit of the significand of the decimal floating point datum.

11

11. A system of executing a machine instruction in a central processing unit, said system comprising: a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising: obtaining a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising an opcode, one register field, another register field, an index field, a base field and a displacement value; and performing a shift function on the significand of a decimal floating point datum as that function is defined by the opcode of the machine instruction, wherein the significand is stored in a location designated by the one register field, said shift function comprising: shifting in one direction one or more decimal digits of the significand a number of positions specified by a plurality of second operand bits determined using the index field, the base field and displacement value of the machine instruction, wherein the shifting comprises: expanding a portion of the significand in densely packed decimal into that portion of the significand in packed decimal; decoding a combination field of the decimal floating point datum into a biased exponent and another portion of the significand; combining the expanded portion of the significand and the another portion of the significand to create a working format significand; performing shifting on the working format significand; and in response to the performing, combining a portion of the working format significand and the biased exponent to obtain a new combination field, and converting another portion of the working format significand from packed decimal to densely packed decimal; and placing a result of the shift function in a location designated by the another register field.

12

12. The computer system of claim 11 , wherein the one direction is to the left.

13

13. The computer system of claim 11 , wherein the one direction is to the right.

14

14. The computer system of claim 11 , wherein the portion of the significand being expanded is an encoded trailing significand of the decimal floating point datum.

15

15. The computer system of claim 11 , wherein the another portion of the significand comprises a leftmost digit of the significand of the decimal floating point datum.

Patent Metadata

Filing Date

Unknown

Publication Date

November 1, 2011

Inventors

Shawn D. Lundvall
Eric M. Schwarz
Ronald M. Smith SR.
Phil C. Yeh

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “SHIFT SIGNIFICAND OF DECIMAL FLOATING POINT DATA” (8051117). https://patentable.app/patents/8051117

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.