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.
Claims10
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 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.
Dependencies are inferred from the claim text.