Transaction abort instruction specifying a reason for abort
First Claim
Patent Images
1. A computer-implemented method of executing an instruction within a computing environment, said computer-implemented method comprising:
- obtaining a machine instruction for execution, the machine instruction being a transaction abort machine instruction having associated therewith;
an operation code to specify a transaction abort operation; and
at least one field to be used to specify an abort code, wherein the abort code provides a specific reason why a transaction executing within the computing environment is to be aborted; and
executing the machine instruction to explicitly abort the transaction, the executing comprising;
aborting the transaction that is executing, wherein the transaction ends prior to completion; and
providing a condition code based on the abort code specified by the at least one field of the machine instruction, the condition code to indicate whether re-execution of the transaction is recommended, and wherein the providing the condition code comprises setting the condition code to a first value based on a specified portion of the abort code specified by the at least one field of the machine instruction being one value and setting the condition code to a second value based on the specified portion of the abort code specified by the at least one field of the machine instruction being another value.
1 Assignment
0 Petitions
Accused Products
Abstract
A TRANSACTION ABORT instruction is used to abort a transaction that is executing in a computing environment. The TRANSACTION ABORT instruction includes at least one field used to specify a user-defined abort code that indicates the specific reason for aborting the transaction. Based on executing the TRANSACTION ABORT instruction, a condition code is provided that indicates whether re-execution of the transaction is recommended.
280 Citations
10 Claims
-
1. A computer-implemented method of executing an instruction within a computing environment, said computer-implemented method comprising:
-
obtaining a machine instruction for execution, the machine instruction being a transaction abort machine instruction having associated therewith; an operation code to specify a transaction abort operation; and at least one field to be used to specify an abort code, wherein the abort code provides a specific reason why a transaction executing within the computing environment is to be aborted; and executing the machine instruction to explicitly abort the transaction, the executing comprising; aborting the transaction that is executing, wherein the transaction ends prior to completion; and providing a condition code based on the abort code specified by the at least one field of the machine instruction, the condition code to indicate whether re-execution of the transaction is recommended, and wherein the providing the condition code comprises setting the condition code to a first value based on a specified portion of the abort code specified by the at least one field of the machine instruction being one value and setting the condition code to a second value based on the specified portion of the abort code specified by the at least one field of the machine instruction being another value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification