Decimal shift and divide instruction
AssigneeInternational Business Machines Corporation
InventorsJonathan D. Bradbury, Steven R. Carlough, Reid T. Copeland, Silvia Melitta Mueller, Eric M. Schwarz
Life of this patent
Estimating the term…
Abstract
An instruction to perform a shift and divide operation is executed. The executing includes shifting a value in a specified direction by a selected amount to provide a dividend, the selected amount being user-defined. The dividend is divided by a divisor to obtain a quotient. At least a subset of the quotient is selected as a result. The result is to be used in processing within the computing environment.
Claims10
A computer-implemented method of facilitating processing within a computing environment, the computer-implemented method comprising:
- obtaining an instruction for execution, the instruction to perform a shift and divide operation;
- and
- executing the instruction, the executing comprising:
- shifting a value in a specified direction by a selected amount to provide a dividend, the selected amount being user-defined;
- dividing the dividend by a divisor to obtain a quotient;
- selecting at least a subset of the quotient as a result;
- and
- placing the result in a selected location, the result to be used in processing within the computing environment.
Dependencies are inferred from the claim text.