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:
- at least one computer readable storage medium readable by at least one 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 based on the clock comparator sign control being set to a first value, unsigned arithmetic is to be used in the comparison, the first value being a default value to provide compatibility for operating systems at various levels;
- 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 based on the clock comparator sign control being set to a first value, unsigned arithmetic is to be used in the comparison, the first value being a default value to provide compatibility for operating systems at various levels;
- and
- performing, by a 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 based on the clock comparator sign control being set to a first value, unsigned arithmetic is to be used in the comparison, the first value being a default value to provide compatibility for operating systems at various levels;
- and
- performing, by a processor, based on the comparison, the selected action.
Dependencies are inferred from the claim text.