tabort.
Transaction Abort
tabort. RA
Forces a transaction failure and rollback.
Details
The tabort instruction is used to explicitly abort a transaction in the PowerISA architecture, causing all changes made during the transaction to be discarded.
Pseudocode Operation
AbortTransaction(RA)
Programming Note
Use tabort to explicitly abort a transaction and discard all changes. Ensure this is called within a transactional region; otherwise, it will raise an exception. Check CR0 for transaction status before or after calling tabort.
Example
tabort. r3
Encoding
Binary Layout
31
0
/
6
RA
11
/
16
910
21
1
31
Operands
-
RA
Abort Code