vsel

Vector Select (Double)

VSEL<cond>.F64 <Dd>, <Dn>, <Dm>

Selects between two double-precision registers based on flags.

Details

Vector Select (Double). This VFP instruction selects between two 64-bit floating-point operands (Dn and Dm) based on a condition code (cc) applied to the FPSCR condition flags, writing the selected value to Dd. The condition code determines which register's value is copied. No flags are set or cleared by this instruction.

Pseudocode Operation

if ConditionPassed(cc) then
  Dd ← Dn
else
  Dd ← Dm

Example

VSELcond.F64 d0, d1, d2

Encoding

Binary Layout
11111110
0
D
cc
Vn
Vd
1011
N
0
M
Vm
 
Format VFP Misc
Opcode 0xFE000B00
Extension VFP (Float)

Operands

  • Dd
    Destination 64-bit SIMD/FP register
  • Dn
    First source 64-bit SIMD/FP register
  • Dm
    Second source 64-bit SIMD/FP register