tend.
Transaction End
tend. A
Commits the current hardware transaction. If successful, memory changes become visible atomically.
Encoding
Binary Layout
31
0:5
/
6:10
A
11:15
/
16:20
686
21:30
1
31
Operands
-
A
Abort Control
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Transaction End. Ends the current transaction. If A=1 (All), ends all nested transactions. On success the memory updates made in the transaction become visible. On failure a non-transactional abort occurs.
Operation
CommitTransaction()
Programming Note
Use `tend` to end a transaction, making its changes permanent if successful. If an error occurs, it triggers a non-transactional abort. Ensure all nested transactions are properly managed when using the A=1 option.