tend.
Transaction End
tend. A
Commits the current hardware transaction. If successful, memory changes become visible atomically.
Details
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.
Pseudocode 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.
Example
tend. 0
Encoding
Binary Layout
31
0
/
6
A
11
/
16
686
21
1
31
Operands
-
A
Abort Control