Arm VERSION 1.2 Manual do Utilizador Página 273

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 360
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 272
Vector Floating-point Programming
ARM DUI 0068B Copyright © 2000, 2001 ARM Limited. All rights reserved. 6-35
6.7.16 FSITO and FUITO
Convert signed integer to floating-point and unsigned integer to floating-point.
FSITO
and
FUITO
are always scalar.
Syntax
FSITO<precision>{cond} Fd, Sm
FUITO<precision>{cond} Fd, Sm
where:
<precision>
must be either
S
for single-precision, or
D
for double-precision.
cond
is an optional condition code (see VFP and condition codes on page 6-8).
Fd
is a VFP register for the result. The precision of
Fd
must match the
precision specified in
<precision>
.
Sm
is a single-precision VFP register holding the integer operand.
Usage
The
FSITO
instruction converts the signed integer value in
Sm
to floating-point and places
the result in
Fd
.
The
FUITO
instruction converts the unsigned integer value in
Sm
to floating-point and
places the result in
Fd
.
Exceptions
FSITOS
and
FUITOS
instructions can produce Inexact exceptions.
FSITOD
and
FUITOD
instructions do not produce any exceptions.
Examples
FUITOD d3, s31 ; unsigned integer to double-precision
FSITOD d5, s16 ; signed integer to double-precision
FSITOSNE s2, s2 ; signed integer to single-precision
Vista de página 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 359 360

Comentários a estes Manuais

Sem comentários