You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : VSEL

VSEL

Floating-point select.

Note

This instruction is supported only in ARMv8.

Syntax

VSELcond.F32 Sd, Sn, Sm

VSELcond.F64 Dd, Dn, Dm

where:

cond
must be one of GE, GT, EQ, VS.
Sd, Sn, Sm
are the single-precision registers for the result and operands.
Dd, Dn, Dm
are the double-precision registers for the result and operands.

Usage

The VSEL instruction compares the values in the operand registers. If the condition is true, it copies the value in the first operand register into the destination operand register. Otherwise, it copies the value in the second operand register.

You cannot use VSEL inside an IT block.

Floating-point exceptions

VSEL instructions cannot produce any exceptions.

Was this page helpful? Yes No