ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

SMLAL

T2 arm64 matrix insn
AArch64 SME Instruction: SMLAL
SourceLLVM AArch64 Instruction & Feature Definitions (llvm_aarch64_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeArmv8-A / Armv9-A (SME)
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
ExtensionsSME, SME2

Summary

AArch64 SMLAL instruction (SME, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: SME2.

Syntax / Encoding

SMLAL_VG4_M4Z4Z_HtoS: smlal $ZAda[$Rv, $imm, vgx4], $Zn, $Zm
SMLAL_VG2_M2Z2Z_HtoS: smlal $ZAda[$Rv, $imm, vgx2], $Zn, $Zm
SMLAL_MZZ_HtoS: smlal $ZAda[$Rv, $imm], $Zn, $Zm
SMLAL_VG4_M4ZZI_HtoS: smlal $ZAda[$Rv, $imm, vgx4], $Zn, $Zm$i3
SMLAL_VG2_M2ZZI_S: smlal $ZAda[$Rv, $imm, vgx2], $Zn, $Zm$i3
SMLAL_MZZI_HtoS: smlal $ZAda[$Rv, $imm], $Zn, $Zm$i3

Cross-Chip Latency & Throughput (3 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
Apple Cyclone (A7)40.51CyUnitVMllvm_sched_models

Binary Encodings (8)

WidthFormatBit PatternMask / Match
32SMLAL_VG4_M4Z4Z_HtoS11000001111xxx010xx010xxx00000xx0xffe39c7c / 0xc1e10800
32SMLAL_VG2_M2Z2Z_HtoS11000001111xxxx00xx010xxxx0000xx0xffe19c3c / 0xc1e00800
32SMLAL_VG2_M2ZZ_HtoS110000010110xxxx0xx010xxxxx000xx0xfff09c1c / 0xc1600800
32SMLAL_VG4_M4ZZ_HtoS110000010111xxxx0xx010xxxxx000xx0xfff09c1c / 0xc1700800
32SMLAL_MZZ_HtoS110000010110xxxx0xx011xxxxx00xxx0xfff09c18 / 0xc1600c00
32SMLAL_VG4_M4ZZI_HtoS110000011101xxxx1xx1xxxxx0000xxx0xfff09078 / 0xc1d09000
32SMLAL_VG2_M2ZZI_S110000011101xxxx0xx1xxxxxx000xxx0xfff09038 / 0xc1d01000
32SMLAL_MZZI_HtoS110000011100xxxxxxx1xxxxxxx00xxx0xfff01018 / 0xc1c01000

Operands

NameDescription
ZAda
_ZAda
Rv
imm
Zn
Zm
i3
imm
Zn
Zm
Zn
Zn
Zm
Zn