Read and write sets for ranges of instructions of transactions
AssigneeInternational Business Machines Corporation
InventorsMichael K. Gschwind, Valentina Salapura, Chung-Lung K. Shum
Life of this patent
Estimating the term…
Abstract
Transactional memory accesses are tracked using read and write sets based on actual program flow. A read and write set is associated with a range of instructions of a transaction. When execution follows a predicted branch, loads and stores are marked as being of selected read and write sets. Then, when a misprediction is processed, and execution is rewound, speculatively added read and write set indications are removed from the read and write sets.
Claims16
A computer program product for facilitating processing in a computing environment, said computer program product comprising:
- a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
- allocating a plurality of ranges of read and write sets for a transaction, wherein a range of read and write sets corresponds to one or more instructions of the transaction;
- determining that there is a mispredicted branch within the transaction;
- and
- deallocating a subset of ranges of read and write sets of the plurality of ranges of read and write sets, based on determining the mispredicted branch.
A computer system for facilitating processing in a computing environment, said computer system comprising:
- a memory;
- and
- a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising:
- allocating a plurality of ranges of read and write sets for a transaction,
- wherein a range of read and write sets corresponds to one or more instructions of the transaction;
- determining that there is a mispredicted branch within the transaction;
- and
- deallocating a subset of ranges of read and write sets of the plurality of ranges of read and write sets, based on determining the mispredicted branch.
16-20. (canceled)
Dependencies are inferred from the claim text.