tabortdc

Transaction Abort Doubleword Conditional

tabortdc TO, RA, RB

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

Encoding

Binary Layout
31
0:5
TO
6:10
RA
11:15
RB
16:20
814
21:30
1
31
 
Format X-form
Opcode 0x7C00065D

Operands

  • TO
    Options
  • RA
    Src A
  • RB
    Src B

Example

tabortdc 4, r4, r5

Registers Altered

CR, CR0, CR1, CR6, MSR, TAR

Related

More in Transactional Memory

Reference

Description

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.

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.