×

Intra-instructional transaction abort handling

  • US 9,286,076 B2
  • Filed: 10/21/2014
  • Issued: 03/15/2016
  • Est. Priority Date: 06/15/2012
  • Status: Active Grant
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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×