Transaction abort instruction
First Claim
Patent Images
1. A method of executing an instruction within a computing environment, said method comprising:
- obtaining, by a processor, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising;
an operation code to specify a transaction abort operation; and
at least one field to be used to create an address, the address being an abort code, wherein the abort code is formed from at least one value stored in at least one of;
one or more fields of the at least one field or one or more locations specified by one or more fields of the at least one field, wherein the at least one field comprises a base field and a displacement field, and wherein based on the base field being nonzero, combining contents of a register specified by the base field and a value of the displacement field to create the abort code; and
executing, by the processor, the machine instruction, the executing comprising;
aborting a transaction that is executing, wherein the transaction ends prior to completion; and
based on the aborting, providing a condition code, the condition code to indicate whether re-execution of the transaction is recommended, and wherein the condition code is based on the abort code.
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.
-
Citations
9 Claims
-
1. A method of executing an instruction within a computing environment, said method comprising:
-
obtaining, by a processor, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising; an operation code to specify a transaction abort operation; and at least one field to be used to create an address, the address being an abort code, wherein the abort code is formed from at least one value stored in at least one of;
one or more fields of the at least one field or one or more locations specified by one or more fields of the at least one field, wherein the at least one field comprises a base field and a displacement field, and wherein based on the base field being nonzero, combining contents of a register specified by the base field and a value of the displacement field to create the abort code; andexecuting, by the processor, the machine instruction, the executing comprising; aborting a transaction that is executing, wherein the transaction ends prior to completion; and based on the aborting, providing a condition code, the condition code to indicate whether re-execution of the transaction is recommended, and wherein the condition code is based on the abort code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification