Vector exception code
First Claim
Patent Images
1. A computer program product for facilitating exception handling, the computer program product comprising:
- a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
determining, by a processor, that an instruction executing within a computing environment has caused an exception, the instruction to operate on a vector register comprising a plurality of elements;
obtaining, based on the exception, a vector exception code, the vector exception code including a position within the vector register of an element of the plurality of elements of the vector register that caused the exception; and
outputting the vector exception code, including the position within the vector register of the element that caused the exception, in order to perform one or more actions based on the vector exception code.
1 Assignment
0 Petitions
Accused Products
Abstract
Vector exception handling is facilitated. A vector instruction is executed that operates on one or more elements of a vector register. When an exception is encountered during execution of the instruction, a vector exception code is provided that indicates a position within the vector register that caused the exception. The vector exception code also includes a reason for the exception.
-
Citations
20 Claims
-
1. A computer program product for facilitating exception handling, the computer program product comprising:
a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; determining, by a processor, that an instruction executing within a computing environment has caused an exception, the instruction to operate on a vector register comprising a plurality of elements; obtaining, based on the exception, a vector exception code, the vector exception code including a position within the vector register of an element of the plurality of elements of the vector register that caused the exception; and outputting the vector exception code, including the position within the vector register of the element that caused the exception, in order to perform one or more actions based on the vector exception code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 16, 17, 18)
-
10. A computer system for facilitating exception handling, the computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; determining, by a processor, that an instruction executing within a computing environment has caused an exception, the instruction to operate on a vector register comprising a plurality of elements; obtaining, based on the exception, a vector exception code, the vector exception code including a position within the vector register of an element of the plurality of elements of the vector register that caused the exception; and outputting the vector exception code, including the position within the vector register of the element that caused the exception, in order to perform one or more actions based on the vector exception code. - View Dependent Claims (11, 12, 13, 14, 15, 19, 20)
-
Specification