tabortwci
Transaction Abort Word Conditional Immediate
tabortwci TO, RA, SI
Aborts transaction if word condition (Immediate) is met.
Encoding
Binary Layout
31
0:5
TO
6:10
RA
11:15
SI
16:20
782
21:30
1
31
Operands
-
TO
Options -
RA
Src -
SI
Immediate
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Transaction Abort Word Conditional Immediate. Aborts the current transaction if the condition formed by TO and the comparison of RA with the sign-extended immediate SI is true.
Operation
if Transactional() then
if TO_condition(TO, RA, EXTS(SI)) then
Abort_Transaction(cause=Explicit)
Programming Note
Use tabortwci to conditionally abort a transaction based on the comparison of a register with an immediate value. Ensure that the transactional state is active; otherwise, the instruction has no effect. Be cautious with the TO condition and immediate sign extension to avoid unintended aborts.