ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

FCVTNS

T2 arm64 fp insn
AArch64 A64 Instruction: FCVTNS
SourceLLVM AArch64 Instruction & Feature Definitions (llvm_aarch64_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeArmv8-A / Armv9-A (A64)
Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/AArch64
Privilegeuser
ExtensionsA64, FPARMv8, FPRCVT, FullFP16, NEONandIsFPRCVTStreamingSafe

Summary

AArch64 FCVTNS instruction (A64, 32-bit) with 18 encoding variants extracted from LLVM TableGen. Extensions: FPARMv8, FPRCVT, FullFP16, NEONandIsFPRCVTStreamingSafe.

Syntax / Encoding

FCVTNSDHr: fcvtns $Rd, $Rn
FCVTNSv2f32: fcvtns $Rd.2s, $Rn.2s
FCVTNSv2f64: fcvtns $Rd.2d, $Rn.2d
FCVTNSv4f32: fcvtns $Rd.4s, $Rn.4s
FCVTNSv4f16: fcvtns $Rd.4h, $Rn.4h
FCVTNSv8f16: fcvtns $Rd.8h, $Rn.8h

Cross-Chip Latency & Throughput (2 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Apple M1 Firestorm (P-core)30.251- - 1 u11-14apple_dougallj
Apple M1 Icestorm (E-core)30.51- - 1 u6-7apple_dougallj

Binary Encodings (12)

WidthFormatBit PatternMask / Match
32FCVTNSDHr1001111011101010000000xxxxxxxxxx0xfffffc00 / 0x9eea0000
32FCVTNSDSr1001111000101010000000xxxxxxxxxx0xfffffc00 / 0x9e2a0000
32FCVTNSSDr0001111001101010000000xxxxxxxxxx0xfffffc00 / 0x1e6a0000
32FCVTNSSHr0001111011101010000000xxxxxxxxxx0xfffffc00 / 0x1eea0000
32FCVTNSUWDr0001111001100000000000xxxxxxxxxx0xfffffc00 / 0x1e600000
32FCVTNSUWHr0001111011100000000000xxxxxxxxxx0xfffffc00 / 0x1ee00000
32FCVTNSUWSr0001111000100000000000xxxxxxxxxx0xfffffc00 / 0x1e200000
32FCVTNSUXDr1001111001100000000000xxxxxxxxxx0xfffffc00 / 0x9e600000
32FCVTNSUXHr1001111011100000000000xxxxxxxxxx0xfffffc00 / 0x9ee00000
32FCVTNSUXSr1001111000100000000000xxxxxxxxxx0xfffffc00 / 0x9e200000
32FCVTNSv1i320101111000100001101010xxxxxxxxxx0xfffffc00 / 0x5e21a800
32FCVTNSv1i640101111001100001101010xxxxxxxxxx0xfffffc00 / 0x5e61a800

Operands

NameDescription
Rd
Rn
Rn
Rd
Rn
Rd
Rd
Rd
Rd
Rn
Rd
Rn