tabortdci

Transaction Abort Doubleword Conditional Immediate

tabortdci TO, RA, SI

Aborts transaction if doubleword condition (Immediate) is met.

Encoding

Binary Layout
31
0:5
TO
6:10
RA
11:15
SI
16:20
878
21:30
1
31
 
Format X-form
Opcode 0x7C0006DD

Operands

  • TO
    Options
  • RA
    Src
  • SI
    Immediate

Example

tabortdci 4, r4, 16

Registers Altered

CR, MSR

Related

More in Transactional Memory

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 Abort Doubleword Conditional Immediate. Aborts the current transaction if the condition formed by TO and the 64-bit comparison of RA with the sign-extended immediate SI is true.

Operation

if Transactional() then
  if TO_condition_64(TO, RA, EXTS(SI)) then
    Abort_Transaction(cause=Explicit)

Programming Note

Use tabortdci to conditionally abort a transaction based on a comparison between a register and an immediate value. Ensure the transaction is active; otherwise, the instruction has no effect. Be cautious with TO conditions to avoid unintended transaction aborts.