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

FSUB

T2 arm64 fp insn
AArch64 A64 Instruction: FSUB
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, FullFP16, NEON

Summary

AArch64 FSUB instruction (A64, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: FPARMv8, FullFP16, NEON.

Syntax / Encoding

FSUBDrr: fsub $Rd, $Rn, $Rm
FSUBv2f32: fsub $Rd.2s, $Rn.2s, $Rm.2s
FSUBv2f64: fsub $Rd.2d, $Rn.2d, $Rm.2d
FSUBv4f32: fsub $Rd.4s, $Rn.4s, $Rm.4s
FSUBv4f16: fsub $Rd.4h, $Rn.4h, $Rm.4h
FSUBv8f16: fsub $Rd.8h, $Rn.8h, $Rm.8h

Cross-Chip Latency & Throughput (8 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
NVIDIA Olympus (Vera)20.171OlympusUnitVllvm_sched_models
Qualcomm Oryon30.251ORYONFP0123llvm_sched_models
Apple Cyclone (A7)4–50.331CyUnitVllvm_sched_models
Fujitsu A64FX (SVE 512b)4–90.51A64FXGI03llvm_sched_models
Marvell ThunderX2 T9960.53THX2T99F01llvm_sched_models
Marvell ThunderX3 T11060.253THX3T110FP0123llvm_sched_models

Binary Encodings (8)

WidthFormatBit PatternMask / Match
32FSUBDrr00011110011xxxxx001110xxxxxxxxxx0xffe0fc00 / 0x1e603800
32FSUBHrr00011110111xxxxx001110xxxxxxxxxx0xffe0fc00 / 0x1ee03800
32FSUBSrr00011110001xxxxx001110xxxxxxxxxx0xffe0fc00 / 0x1e203800
32FSUBv2f3200001110101xxxxx110101xxxxxxxxxx0xffe0fc00 / 0x0ea0d400
32FSUBv2f6401001110111xxxxx110101xxxxxxxxxx0xffe0fc00 / 0x4ee0d400
32FSUBv4f3201001110101xxxxx110101xxxxxxxxxx0xffe0fc00 / 0x4ea0d400
32FSUBv4f1600001110110xxxxx000101xxxxxxxxxx0xffe0fc00 / 0x0ec01400
32FSUBv8f1601001110110xxxxx000101xxxxxxxxxx0xffe0fc00 / 0x4ec01400

Operands

NameDescription
Rd
Rn
Rm
Rd
Rn
Rm
Rd
Rn
Rm
Rd
Rn
Rm
Rd
Rn