×

Read and write sets for ranges of instructions of transactions

  • US 10,725,900 B2
  • Filed: 06/29/2016
  • Issued: 07/28/2020
  • Est. Priority Date: 05/03/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of facilitating processing in a computing environment, said computer-implemented method comprising:

  • allocating a plurality of ranges of read and write sets assigned to instructions of a particular transaction, wherein a range of read and write sets for the particular transaction corresponds to one or more instructions of the particular transaction and includes multiple read and write sets for the one or more instructions, the multiple read and write sets of the range of read and write sets corresponding to multiple cache lines of a cache of the computing environment and used to track transactional memory accesses based on actual program flow, the transactional memory accesses including read accesses and write accesses of the particular transaction including non-speculative read accesses and write accesses;

    determining that there is a mispredicted branch within the particular transaction; and

    deallocating a subset of ranges of read and write sets of the plurality of ranges of read and write sets assigned to instructions of the particular transaction, based on determining the mispredicted branch, wherein at least one range of read and write sets assigned to one or more instructions of the particular transaction remains allocated,wherein a cache line of the multiple cache lines comprises a plurality of pairs of read and write sets across multiple ranges of instructions of the particular transaction, and each pair of read and write sets of the plurality of pairs of read and write sets for the cache line is for a different range of instructions of the particular transaction, and wherein each different range of instructions includes instructions between a transaction begin instruction to begin the particular transaction and a branch instruction of the particular transaction or between one branch instruction of the particular transaction and another branch instruction of the particular transaction.

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