Read and set floating point control register instruction
AssigneeInternational Business Machines Corporation
InventorsMichael K. Gschwind, Valentina Salapura
Life of this patent
Estimating the term…
Abstract
Setting or updating of floating point controls is managed. Floating point controls include controls used for floating point operations, such as rounding mode and/or other controls. Further, floating point controls include status associated with floating point operations, such as floating point exceptions and/or others. The management of the floating point controls includes efficiently updating the controls, while reducing costs associated therewith.
Claims16
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 performing a method comprising:
- obtaining an instruction to be executed, the instruction having associated therewith an operation code to indicate a read and set floating point control register operation;
- and
- executing the instruction, the executing including:
- reading one or more controls from a floating point control register;
- and
- updating at least one control of the one or more controls comprising writing a value of the at least one control to the floating point control register, wherein the reading and updating are performed as one atomic operation.
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 a method, said method comprising:
- obtaining an instruction to be executed, the instruction having associated therewith an operation code to indicate a read and set floating point control register operation;
- and
- executing the instruction, the executing including:
- reading one or more controls from a floating point control register;
- and
- updating at least one control of the one or more controls comprising writing a value of the at least one control to the floating point control register, wherein the reading and updating are performed as one atomic operation.
Dependencies are inferred from the claim text.