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

FMLAL2

T2 arm64 alu insn
AArch64 A64 Instruction: FMLAL2
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, FP16FML, NEON

Summary

AArch64 FMLAL2 instruction (A64, 32-bit) with 4 encoding variants extracted from LLVM TableGen. Extensions: FP16FML, NEON.

Syntax / Encoding

FMLAL2v4f16: fmlal2 $Rd.2s, $Rn.2h, $Rm.2h
FMLAL2v8f16: fmlal2 $Rd.4s, $Rn.4h, $Rm.4h
FMLAL2lanev4f16: fmlal2 $Rd.2s, $Rn.2h, $Rm.h$idx
FMLAL2lanev8f16: fmlal2 $Rd.4s, $Rn.4h, $Rm.h$idx

Cross-Chip Latency & Throughput (2 cores)

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

Binary Encodings (4)

WidthFormatBit PatternMask / Match
32FMLAL2v4f1600101110001xxxxx110011xxxxxxxxxx0xffe0fc00 / 0x2e20cc00
32FMLAL2v8f1601101110001xxxxx110011xxxxxxxxxx0xffe0fc00 / 0x6e20cc00
32FMLAL2lanev4f160010111110xxxxxx1000x0xxxxxxxxxx0xffc0f400 / 0x2f808000
32FMLAL2lanev8f160110111110xxxxxx1000x0xxxxxxxxxx0xffc0f400 / 0x6f808000

Operands

NameDescription
dst
Rd
Rn
Rm
idx
dst
Rd
Rn
Rm
Rm