Vector Floating-point Programming

6.7.5FCVTSD

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 page 6-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

ARM DUI 0068B

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

6-21

Page 259
Image 259
ARM VERSION 1.2 manual Fcvtsd, Is a single-precision VFP register for the result