csel
Conditional Select
CSEL <Wd>, <Wn>, <Wm>, <cond>
Selects between two registers based on condition.
Details
The Conditional Select instruction selects between two registers based on condition.
Pseudocode Operation
// Selects between two registers based on condition
Example
CSEL w0, w1, w2, cond
Encoding
Binary Layout
00011010
100
Rm
cond
0
0
Rn
Rd
Operands
-
Wd
Destination 32-bit integer register -
Wn
True Src -
Wm
False Src -
cond
Condition