fcvtns

Floating-Point Convert to Signed Integer (Nearest, ties to Even)

FCVTNS <Wd|Xd>, <Hn|Sn|Dn>

Converts float to signed integer, rounding to nearest (bankers' round).

Details

The Floating-Point Convert to Signed Integer instruction converts float to signed integer, rounding to nearest (bankers' round).

Pseudocode Operation

Rd ← convert(Vn)

Example

FCVTNS Wd, Dn

Encoding

Binary Layout
00011110
type
001000
00
00000
Rn
Rd
 
Format FP Conversion
Opcode 0x1E200000
Extension Floating Point

Operands

  • Rd
    Int Dest
  • Vn
    Float Src