Clock comparator sign control
AssigneeInternational Business Machines Corporation
InventorsEberhard Engler, Dan F. Greiner, Michel H. T. Hack, Timothy J. Slegel, Joachim von Buttlar
Life of this patent
Estimating the term…
Abstract
A clock comparator sign control is used in a compare operation. A clock comparator sign control that determines whether unsigned arithmetic or signed arithmetic is to be used in a comparing operation is obtained. The clock comparator sign control is then used in a comparison of a value of a clock comparator and at least a portion of a value of a time-of-day clock to determine whether a selected action is to be recognized.
Claims20
A computer program product for facilitating processing in a computing environment, said computer program product comprising:
- one or more computer readable storage media and program instructions collectively stored on the one or more computer readable storage media to perform a method comprising:
- obtaining a clock comparator sign control to be used to determine a type of operation to be used in a clock comparing operation used to control processing within a processor of the computing environment, the type of operation being selected from multiple types of operations including unsigned arithmetic and signed arithmetic;
- and
- controlling the processing within the processor of the computing environment using the clock comparator sign control the controlling the processing comprising using the clock comparator sign control in a comparison of a value of a clock comparator and at least a portion of a value of a time-of-day clock to correctly determine whether a selected action is to be recognized by the processor, wherein the clock comparator is one size and the time-of-day clock is an extended time-of-day clock of a different size than the clock comparator, and wherein the time-of-day clock may overflow.
A computer system for facilitating processing in a computing environment, said 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 a clock comparator sign control to be used to determine a type of operation to be used in a clock comparing operation used to control processing within a processor of the computing environment, the type of operation being selected from multiple types of operations including unsigned arithmetic and signed arithmetic;
- and
- controlling the processing within the processor of the computing environment using the clock comparator sign control, the controlling the processing comprising using the clock comparator sign control in a comparison of a value of a clock comparator and at least a portion of a value of a time-of-day clock to correctly determine whether a selected action is to be recognized by the processor, wherein the clock comparator is one size and the time-of-day clock is an extended time-of-day clock of a different size than the clock comparator, and wherein the time-of-day clock may overflow.
A computer-implemented method of facilitating processing in a computing environment, said computer-implemented method comprising:
- obtaining, by a processor, a clock comparator sign control to be used to determine a type of operation to be used in a clock comparing operation used to control processing within a processor of the computing environment, the type of operation being selected from multiple types of operations including unsigned arithmetic and signed arithmetic;
- and
- controlling the processing within the processor of the computing environment using the clock comparator sign control the controlling the processing comprising using the clock comparator sign control in a comparison of a value of a clock comparator and at least a portion of a value of a time-of-day clock to correctly determine whether a selected action is to be recognized by the processor, wherein the clock comparator is one size and the time-of-day clock is an extended time-of-day clock of a different size than the clock comparator, and wherein the time-of-day clock may overflow.
Dependencies are inferred from the claim text.