Vector Floating-point Programming

6.7.4FCVTDS

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

6-20

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

ARM DUI 0068B

Page 258
Image 258
ARM VERSION 1.2 manual Fcvtds, Is a double-precision VFP register for the result