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:
- a computer readable storage medium readable by a processing circuit and storing instructions to perform a method comprising:
- obtaining a clock comparator sign control to be used to determine whether unsigned arithmetic or signed arithmetic is to be used in a comparing operation;
- 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 determine whether a selected action is to be recognized, wherein the using the clock comparator sign control in the comparison results in correctly indicating whether the selected action is to be recognized, regardless of whether the time-of-day clock has overflowed;
- and
- performing, by a processor, based on the comparison, the selected action.
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 whether unsigned arithmetic or signed arithmetic is to be used in a comparing operation;
- 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 determine whether a selected action is to be recognized, wherein the using the clock comparator sign control in the comparison results in correctly indicating whether the selected action is to be recognized, regardless of whether the time-of-day clock has overflowed;
- and
- performing, by the processor, based on the comparison, the selected action.
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 whether unsigned arithmetic or signed arithmetic is to be used in a comparing operation;
- 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 determine whether a selected action is to be recognized, wherein the using the clock comparator sign control in the comparison results in correctly indicating whether the selected action is to be recognized, regardless of whether the time-of-day clock has overflowed;
- and
- performing, by the processor, based on the comparison, the selected action.
Dependencies are inferred from the claim text.