4 fcvtds – ARM VERSION 1.2 User Manual

Page 258

Advertising
background image

Vector Floating-point Programming

6-20

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

6.7.4

FCVTDS

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

FCVTDS

is always scalar.

Syntax

FCVTDS{cond} Dd, Sm

where:

cond

is an optional condition code (see VFP and condition codes on page 6-8).

Dd

is a double-precision VFP register for the result.

Sm

is a single-precision VFP register holding the operand.

Usage

The

FCVTDS

instruction converts the single-precision value in

Sm

to double-precision and

places the result in

Dd

.

Exceptions

FCVTDS

instructions can produce Invalid Operation exceptions.

Examples

FCVTDS d5, s7
FCVTDSGT d0, s4

Advertising