15.37 VSEL

Floating-point select.

Note:

This instruction is supported only in Arm®v8.

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.

Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.