You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : SCVTF (scalar, fixed-point)

SCVTF (scalar, fixed-point)

Signed fixed-point convert to floating-point.

Syntax

SCVTF Sd, Wn, #fbits ; 32-bit to single-precision

SCVTF Dd, Wn, #fbits ; 32-bit to double-precision

SCVTF Sd, Xn, #fbits ; 64-bit to single-precision

SCVTF Dd, Xn, #fbits ; 64-bit to double-precision

Where:

Sd

Is the 32-bit name of the SIMD and FP destination register.

Wn

Is the 32-bit name of the general-purpose source register.

fbits

Depends on the instruction variant:

32-bit

Is the number of bits after the binary point in the fixed-point source, in the range 1 to 32.

64-bit

Is the number of bits after the binary point in the fixed-point source, in the range 1 to 64.

Dd

Is the 64-bit name of the SIMD and FP destination register.

Xn

Is the 64-bit name of the general-purpose source register.

Operation

Vd = signed_convertFromInt(Rn/(2^fbits)), where V is either D or S.

Was this page helpful? Yes No