SMLSL
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userSME, SME2Summary
AArch64 SMLSL instruction (SME, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: SME2.
Syntax / Encoding
SMLSL_VG4_M4Z4Z_HtoS: smlsl $ZAda[$Rv, $imm, vgx4], $Zn, $Zm SMLSL_VG2_M2Z2Z_HtoS: smlsl $ZAda[$Rv, $imm, vgx2], $Zn, $Zm SMLSL_MZZ_HtoS: smlsl $ZAda[$Rv, $imm], $Zn, $Zm SMLSL_VG4_M4ZZI_HtoS: smlsl $ZAda[$Rv, $imm, vgx4], $Zn, $Zm$i3 SMLSL_VG2_M2ZZI_S: smlsl $ZAda[$Rv, $imm, vgx2], $Zn, $Zm$i3 SMLSL_MZZI_HtoS: smlsl $ZAda[$Rv, $imm], $Zn, $Zm$i3
Cross-Chip Latency & Throughput (3 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| Apple M1 Firestorm (P-core) | 3 | 0.25 | 1 | - - 1 u11-14 | apple_dougallj |
| Apple M1 Icestorm (E-core) | 3 | 0.5 | 1 | - - 1 u6-7 | apple_dougallj |
| Apple Cyclone (A7) | 4 | 0.5 | 1 | CyUnitVM | llvm_sched_models |
Binary Encodings (8)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | SMLSL_VG4_M4Z4Z_HtoS | 11000001111xxx010xx010xxx00010xx | 0xffe39c7c / 0xc1e10808 |
| 32 | SMLSL_VG2_M2Z2Z_HtoS | 11000001111xxxx00xx010xxxx0010xx | 0xffe19c3c / 0xc1e00808 |
| 32 | SMLSL_VG2_M2ZZ_HtoS | 110000010110xxxx0xx010xxxxx010xx | 0xfff09c1c / 0xc1600808 |
| 32 | SMLSL_VG4_M4ZZ_HtoS | 110000010111xxxx0xx010xxxxx010xx | 0xfff09c1c / 0xc1700808 |
| 32 | SMLSL_MZZ_HtoS | 110000010110xxxx0xx011xxxxx01xxx | 0xfff09c18 / 0xc1600c08 |
| 32 | SMLSL_VG4_M4ZZI_HtoS | 110000011101xxxx1xx1xxxxx0001xxx | 0xfff09078 / 0xc1d09008 |
| 32 | SMLSL_VG2_M2ZZI_S | 110000011101xxxx0xx1xxxxxx001xxx | 0xfff09038 / 0xc1d01008 |
| 32 | SMLSL_MZZI_HtoS | 110000011100xxxxxxx1xxxxxxx01xxx | 0xfff01018 / 0xc1c01008 |
Operands
| Name | Description |
|---|---|
ZAda | |
_ZAda | |
Rv | |
imm | |
Zn | |
Zm | |
i3 | |
imm | |
Zn | |
Zm | |
Zn | |
Zn | |
Zm | |
Zn |