You copied the Doc URL to your clipboard.

15.4 VCMP, VCMPE

Floating-point compare.

Syntax

VCMP{E}{cond}.F32 Sd, Sm

VCMP{E}{cond}.F32 Sd, #0

VCMP{E}{cond}.F64 Dd, Dm

VCMP{E}{cond}.F64 Dd, #0

where:

E

if present, indicates that the instruction raisesan Invalid Operation exception if either operand is a quiet or signalingNaN. Otherwise, it raises the exception only if either operand isa signaling NaN.

cond

is an optional condition code.

Sd, Sm

are the single-precision registers holding the operands.

Dd, Dm

are the double-precision registers holding the operands.

Operation

The VCMP{E} instruction subtractsthe value in the second operand register (or 0 if the second operandis #0) from the value in the first operand register, and sets theVFP condition flags based on the result.

Floating-point exceptions

VCMP{E} instructions can produceInvalid Operation exceptions.

Related reference

Was this page helpful? Yes No