Vector Floating-point Programming
ARM DUI 0068B Copyright © 2000, 2001 ARM Limited. All r ights reserved. 6-21
6.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 on page6-8).
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