trechkpt
Transaction Recheckpoint
trechkpt
Updates the transaction checkpoint.
Encoding
Binary Layout
31
0:5
/
6:10
/
11:15
/
16:20
1006
21:30
/
31
Operands
Registers Altered
LR, CTR, CR, FPSCR, XER, MSR, SRR0, SRR1, TARRelated
More in Transactional Memory
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Transaction Recheckpoint. Restores the transactional register state from the checkpoint saved by a prior tbegin. Used to restart a transaction after a non-transactional abort.
Operation
if Suspended() then
Restore_Checkpoint()
Resume_Transaction()
Programming Note
The trechkpt instruction is used to restore the transactional register state from a previous checkpoint, allowing a transaction to be restarted after a non-transactional abort. It should only be used within a transactional region and requires that the transaction was previously suspended. Ensure proper ordering of instructions to maintain consistency and avoid data corruption.