5.7.5. FCVTSD

Convert double-precision floating-point to single-precision.

FCVTSD is always scalar.

Syntax

FCVTSD{cond} Sd, Dm

where:

cond

is an optional condition code (see VFP and condition codes).

Sd

is a single-precision VFP register for the result.

Dm

is a double-precision VFP register holding the operand.

Usage

The FCVTSD instruction converts the double-precision value in Dm to single-precision and places the result in Sd.

Exceptions

FCVTSD instructions can produce Invalid Operation, Overflow, Underflow, or Inexact exceptions.

Examples

    FCVTSD      s3, d14
    FCVTSDMI    s0, d1
Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0204F
Non-Confidential