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
Not in Power ISA v3.1C
Description
Not in Power ISA v3.1C: Transactional Memory has been removed from the architecture (Appendix A), and its opcode map lists this opcode as reserved. The encoding shown is binutils' (opcodes/ppc-opc.c), not the manual's. 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.