IP Library › Granted Patent US 10,379,851
Granted Patent B2
US 10,379,851 · App. 15/631,086 · Granted Aug 13, 2019

Fine-grained management of exception enablement of floating point controls

Inventors: Michael K. Gschwind (Chappaqua, NY); Valentina Salapura (Chappaqua, NY)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F9/3001G06F9/3861G06F9/30185
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,379,851
App. No.
15/631,086
Granted
Aug 13, 2019
Kind
B2
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.

Claims (33)

1. A computer program product for facilitating processing within a computing environment, the computer program product comprising:

a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for performing a method comprising:

obtaining a user-specified value for a floating point exception control for a selected instruction to be processed, the floating point exception control indicating a particular event;

determining, based on the user-specified value and another value for the floating point exception control provided by a centralized status exception control, an enablement control for the floating point exception control, wherein the determining comprises combining the user-specified value and the other value to provide a value for the enablement control; and

executing the selected instruction, wherein an indication of a floating point exception associated with execution of the selected instruction is enabled or disabled based on the value of the enablement control.

2. The computer program product of claim 1 , wherein the particular event comprises an event selected from a group consisting of: an overflow, an underflow, an illegal operation, a sticky operation, a Not-a-Number operation, and an imprecise result indication.

3. The computer program product of claim 1 , wherein the enablement control controls whether the floating point exception control provides an indication of the particular event.

4. The computer program product of claim 1 , wherein the centralized status exception control is included in a floating point control register.

5. The computer program product of claim 1 , wherein the user-specified value is provided via an exception control prefix included with the selected instruction.

6. The computer program product of claim 1 , wherein the user-specified value is provided via a prefix instruction added to an instruction stream prior to the selected instruction.

7. The computer program product of claim 6 , wherein the prefix instruction comprises at least one exception control field indicating at least one floating point exception control to be provided by the prefix instruction.

8. The computer program product of claim 6 , wherein the prefix instruction further comprises at least one exception control field value indicating at least one user-specified value for the at least one floating point exception control.

9. The computer program product of claim 7 , wherein the prefix instruction further includes an indicator to specify whether an exception control field of the at least one exception control field is enabled.

10. The computer program product of claim 1 , wherein the method further comprises:

determining which type of floating point instruction the floating point exception control is to be applied, wherein there is a plurality of types of floating point instructions including at least one of binary, decimal, hexadecimal and vector; and

applying the floating point exception control to the determined type of floating point instruction.

11. 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 a user-specified value for a floating point exception control for a selected instruction to be processed, the floating point exception control indicating a particular event;

determining, based on the user-specified value and another value for the floating point exception control provided by a centralized status exception control, an enablement control for the floating point exception control, wherein the determining comprises combining the user-specified value and the other value to provide a value for the enablement control; and

executing the selected instruction, wherein an indication of a floating point exception associated with execution of the selected instruction is enabled or disabled based on the value of the enablement control.

12. The computer system of claim 11 , wherein the particular event comprises an event selected from a group consisting of: an overflow, an underflow, an illegal operation, a sticky operation, a Not-a-Number operation, and an imprecise result indication.

13. The computer system of claim 11 , wherein the user-specified value is provided via an exception control prefix included with the selected instruction.

14. The computer system of claim 11 , wherein the user-specified value is provided via a prefix instruction added to an instruction stream prior to the selected instruction.

15. The computer system of claim 11 , wherein the method further comprises:

determining which type of floating point instruction the floating point exception control is to be applied, wherein there is a plurality of types of floating point instructions including at least one of binary, decimal, hexadecimal and vector; and

applying the floating point exception control to the determined type of floating point instruction.

16. The computer system of claim 11 , wherein the enablement control controls whether the floating point exception control provides an indication of the particular event.

17. The computer system of claim 11 , wherein the centralized status exception control is included in a floating point control register.

18. The computer system of claim 14 , wherein the prefix instruction comprises at least one exception control field indicating at least one floating point exception control to be provided by the prefix instruction.

19. The computer system of claim 14 , wherein the prefix instruction further comprises at least one exception control field value indicating at least one user-specified value for the at least one floating point exception control.

20. The computer system of claim 18 , wherein the prefix instruction further includes an indicator to specify whether an exception control field of the at least one exception control field is enabled.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 23, 2017
From: GSCHWIND, MICHAEL K.; SALAPURA, VALENTINA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 042796/0948 →
Continuity (1)
Related Publication 20180373529A1 · Dec 27, 2018