Intra-instructional transaction abort handling
First Claim
Patent Images
1. A method for intra-instructional transaction abort handling comprising:
- using, by a processing circuit, an emulation routine to execute an instruction within a transaction, the instruction comprising at least one unit of operation, the transaction effectively delaying committing stores to memory until successful completion of the transaction;
setting a transaction block abort (TXBA) flag based on determining that the emulation of the instruction has made updates to one or more of;
an architected facility and an architected facility buffer, wherein the architected facility buffer comprises one or more rename registers that store data temporarily until instruction completion moves the data to a targeted location; and
based on receiving an abort indication, terminating the emulation of the instruction prior to completing the execution of the instruction, the terminating performed after completing, by the emulation routine, any previously initiated unit of operation of the instruction, wherein the terminating of the emulation of the instruction comprises;
rolling back any storage updates performed during the emulation of the instruction based on determining that the emulation of the instruction has made no updates to the architected facility and no updates to the architected facility buffer;
pausing the terminating of the emulation of the instruction after determining that the TXBA flag is set until all previously initiated units of operation of the instruction of the transaction have completed the emulation;
resetting the TXBA flag based on executing an end of emulation routine instruction or an emulation execution control reset transaction block abort instruction to start a new unit of operation; and
resuming the terminating of the emulation of the instruction based on determining the TXBA flag has been cleared.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments relate to intra-instructional transaction abort handling. An aspect includes using an emulation routine to execute an instruction within a transaction. The instruction includes at least one unit of operation. The transaction effectively delays committing stores to memory until the transaction has completed successfully. After receiving an abort indication, emulation of the instruction is terminated prior to completing the execution of the instruction. The instruction is terminated after the emulation routine completes any previously initiated unit of operation of the instruction.
73 Citations
14 Claims
-
1. A method for intra-instructional transaction abort handling comprising:
-
using, by a processing circuit, an emulation routine to execute an instruction within a transaction, the instruction comprising at least one unit of operation, the transaction effectively delaying committing stores to memory until successful completion of the transaction; setting a transaction block abort (TXBA) flag based on determining that the emulation of the instruction has made updates to one or more of;
an architected facility and an architected facility buffer, wherein the architected facility buffer comprises one or more rename registers that store data temporarily until instruction completion moves the data to a targeted location; andbased on receiving an abort indication, terminating the emulation of the instruction prior to completing the execution of the instruction, the terminating performed after completing, by the emulation routine, any previously initiated unit of operation of the instruction, wherein the terminating of the emulation of the instruction comprises; rolling back any storage updates performed during the emulation of the instruction based on determining that the emulation of the instruction has made no updates to the architected facility and no updates to the architected facility buffer; pausing the terminating of the emulation of the instruction after determining that the TXBA flag is set until all previously initiated units of operation of the instruction of the transaction have completed the emulation; resetting the TXBA flag based on executing an end of emulation routine instruction or an emulation execution control reset transaction block abort instruction to start a new unit of operation; and resuming the terminating of the emulation of the instruction based on determining the TXBA flag has been cleared. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for intra-instructional transaction abort handling, said 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; using, by the processing circuit, an emulation routine to execute an instruction within a transaction, the instruction comprising at least one unit of operation, the transaction effectively delaying committing stores to memory until successful completion of the transaction; setting a transaction block abort (TXBA) flag based on determining that the emulation of the instruction has made updates to one or more of;
an architected facility and an architected facility buffer, wherein the architected facility buffer comprises one or more rename registers that store data temporarily until instruction completion moves the data to a targeted location; andbased on receiving an abort indication, terminating the emulation of the instruction prior to completing the execution of the instruction, the terminating performed after completing, by the emulation routine, any previously initiated unit of operation of the instruction, wherein the terminating of the emulation of the instruction comprises; rolling back any storage updates performed during the emulation of the instruction based on determining that the emulation of the instruction has made no updates to the architected facility and no updates to the architected facility buffer; pausing the terminating of the emulation of the instruction after determining that the TXBA flag is set until all previously initiated units of operation of the instruction of the transaction have completed the emulation; resetting the TXBA flag based on executing an end of emulation routine instruction or an emulation execution control reset transaction block abort instruction to start a new unit of operation; and resuming the terminating of the emulation of the instruction based on determining the TXBA flag has been cleared. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification