tabortdc

Transaction Abort Doubleword Conditional

tabortdc TO, RA, RB

Aborts a transaction if the condition is met (Doubleword comparison).

Details

Transaction Abort Doubleword Conditional. Aborts the current transaction if the condition formed by TO and the 64-bit comparison of RA and RB is true. Records the abort cause in TEXASR.

Pseudocode Operation

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

Programming Note

Use tabortdc to conditionally abort a transaction based on a 64-bit comparison. Ensure that the transaction is active when using this instruction; otherwise, it has no effect. The TO field specifies the condition for the comparison, and RA and RB are the registers holding the values to compare. This instruction operates at the problem state privilege level.

Example

tabortdc 4, r4, r5

Encoding

Binary Layout
31
0
TO
6
RA
11
RB
16
814
21
1
31
 
Format X-form
Opcode 0x7C00065D
Extension Transactional Memory
Registers Altered CR, CR0, CR1, CR6, MSR, TAR

Operands

  • TO
    Options
  • RA
    Src A
  • RB
    Src B