You copied the Doc URL to your clipboard.

18.18 FCVTZS (scalar, fixed-point)

Floating-point convert to signed fixed-point, rounding toward zero.

Syntax

FCVTZS Wd, Sn, #fbits ; Single-precision to 32-bit

FCVTZS Xd, Sn, #fbits ; Single-precision to 64-bit

FCVTZS Wd, Dn, #fbits ; Double-precision to 32-bit

FCVTZS Xd, Dn, #fbits ; Double-precision to 64-bit

Where:

Wd

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

Sn

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

fbits

Depends on the instruction variant:

32-bit

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

64-bit

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

Xd

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

Dn

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

Operation

Rd = signed_convertToIntegerExactTowardZero(Vn*(2^fbits)), where V is either D or S.

Was this page helpful? Yes No