csinc

Conditional Select Increment

CSINC <Wd>, <Wn>, <Wm>, <cond>

Selects Wn if cond true, else (Wm + 1).

Details

The Conditional Select Increment instruction selects Wn if cond true, else (Wm + 1).

Pseudocode Operation

// Selects Wn if cond true, else (Wm + 1)

Example

CSINC w0, w1, w2, cond

Encoding

Binary Layout
00011010
100
Rm
cond
0
1
Rn
Rd
 
Format Cond Select
Opcode 0x1A800400
Extension Base

Operands

  • Wd
    Destination 32-bit integer register
  • Wn
    True Src
  • Wm
    False Src
  • cond
    Cond