IP Library Granted Patent US 10,235,170
Granted Patent B2
US 10,235,170 · App. 15/281,181 · Granted Mar 19, 2019

Decimal load immediate instruction

Inventors: Jonathan D. Bradbury (Poughkeepsie, NY); Reid T. Copeland (Richmond Hill, CA); Silvia Melitta Mueller (Altdorf, DE)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F9/30032G06F5/01G06F9/3013G06F9/30014G06F9/30025G06F9/30167G06F7/74G06F9/30003G06F9/30007G06F9/30018G06F9/30021G06F9/30036G06F9/30134
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,235,170
App. No.
15/281,181
Granted
Mar 19, 2019
Kind
B2
Abstract

An instruction generates a value for use in processing within a computing environment. The instruction obtains a sign control associated with the instruction, and shifts an input value of the instruction in a specified direction by a selected amount to provide a result. The result is placed in a first designated location in a register, and the sign, which is based on the sign control, is placed in a second designated location of the register. The result and the sign provide a signed value to be used in processing within the computing environment.

Claims (41)

1. A computer program product for facilitating processing within 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 instruction for execution, the instruction to generate a value without obtaining the value from memory, the value for use in processing within the computing environment, the instruction having associated therewith a sign control to be used to provide a sign of the value to be generated by the instruction;

executing the instruction, the executing comprising:

obtaining the sign control;

shifting an input value, provided by the instruction absent loading from memory, in a specified direction by a selected amount to provide a result;

placing the result in a first designated location in a register; and

including the sign, based on the sign control, in a second designated location of the register, the result and the sign providing a signed value to be used in processing within the computing environment, the signed value being generated absent loading from memory, wherein use of memory bandwidth of the computing environment is reduced.

2. The computer program product of claim 1 , wherein the obtaining the sign control comprises obtaining the sign control from a field of the instruction, and wherein based on the sign control being a first value, the sign is positive, and based on the sign control being a second value, the sign is negative.

3. The computer program product of claim 1 , wherein the executing further comprises:

obtaining the input value from an immediate field of the instruction;

checking validity of the input value; and

performing the shifting, based on the checking indicating the input value is valid.

4. The computer program product of claim 1 , wherein the specified direction is left.

5. The computer program product of claim 1 , wherein the executing further comprises obtaining the selected amount from an immediate field of the instruction.

6. The computer program product of claim 1 , wherein the first designated location is a location of a magnitude of a signed packed decimal format in the register.

7. The computer program product of claim 1 , wherein the register is specified using at least one field of the instruction.

8. The computer program product of claim 7 , wherein the at least one field comprises a register field specifying a register number and an extension field specifying an extension value to be appended to the register number.

9. The computer program product of claim 1 , wherein the placing of the result further comprises placing zeros in a third designated location of the register.

10. The computer program product of claim 9 , wherein the third designated location includes one or more leftmost positions of the register.

11. The computer program product of claim 1 , wherein the input value and the sign control are provided by one or more immediate fields of the instruction.

12. A computer system for facilitating processing within 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 the following comprising:

obtaining an instruction for execution, the instruction to generate a value without obtaining the value from memory, the value for use in processing within the computing environment, the instruction having associated therewith a sign control to be used to provide a sign of the value to be generated by the instruction;

executing the instruction, the executing comprising:

obtaining the sign control;

shifting an input value, provided by the instruction absent loading from memory, in a specified direction by a selected amount to provide a result;

placing the result in a first designated location in a register; and

including the sign, based on the sign control, in a second designated location of the register, the result and the sign providing a signed value to be used in processing within the computing environment, the signed value being generated absent loading from memory, wherein use of memory bandwidth of the computing environment is reduced.

13. The computer system of claim 12 , wherein the obtaining the sign control comprises obtaining the sign control from a field of the instruction, wherein based on the sign control being a first value, the sign is positive, and based on the sign control being a second value, the sign is negative; and wherein the register is specified using at least one field of the instruction.

14. The computer system of claim 12 , wherein the executing further comprises:

obtaining the input value from an immediate field of the instruction;

checking validity of the input value; and

performing the shifting, based on the checking indicating the input value is valid.

15. The computer system of claim 12 , wherein the first designated location is a location of a magnitude of a signed packed decimal format in the register.

16. The computer system of claim 12 , wherein the placing of the result further comprises placing zeros in a third designated location of the register.

17. The computer system of claim 16 , wherein the third designated location includes one or more leftmost positions of the register.

18. The computer system of claim 12 , wherein the specified direction is left.

19. The computer system of claim 12 , wherein the executing further comprises obtaining the selected amount from an immediate field of the instruction.

20. The computer system of claim 12 , wherein the input value and the sign control are provided by one or more immediate fields of the instruction.

Assignments (2)
CONFIRMATORY LICENSE Recorded Mar 23, 2022
From: MISSOURI UNIVERSITY OF SCIENCE AND TECHNOLOGY
To: UNITED STATES GOVERNMENT
Reel/Frame 059479/0561 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 30, 2016
From: BRADBURY, JONATHAN D.; COPELAND, REID T.; MUELLER, SILVIA MELITTA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 039903/0740 →
Continuity (1)
Related Publication 20180095755A1 · Apr 5, 2018