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
814
21:30
1
31
 
Format X-form
Opcode 0x7C00065D

Operands

  • TO
    Options
  • RA
    Src
  • SI
    Immediate

Example

tabortdci 4, r4, 16

Registers Altered

CR, MSR

Related

More in Transactional Memory

Reference

Description

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.