SQSHL
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userSME, SVE2_or_SMESummary
AArch64 SQSHL instruction (SME, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: SVE2_or_SME.
Syntax / Encoding
SQSHL_ZPmI_B: sqshl $Zdn, $Pg/m, $_Zdn, $imm SQSHL_ZPmZ_B: sqshl $Zdn, $Pg/m, $_Zdn, $Zm
Cross-Chip Latency & Throughput (5 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| Apple M1 Firestorm (P-core) | 2 | 0.25 | 1 | - - 1 u11-14 | apple_dougallj |
| Apple M1 Icestorm (E-core) | 2 | 0.5 | 1 | - - 1 u6-7 | apple_dougallj |
| AmpereOne (Ampere1B) | 2 | 0.5 | 1 | Ampere1BUnitXY | llvm_sched_models |
| AmpereOne (Ampere1) | 3 | 0.5 | 1 | Ampere1UnitXY | llvm_sched_models |
| NVIDIA Olympus (Vera) | 4 | 0.17 | 1 | OlympusUnitV | llvm_sched_models |
Binary Encodings (8)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | SQSHL_ZPmI_B | 0000010000000110100xxx01xxxxxxxx | 0xffffe300 / 0x04068100 |
| 32 | SQSHL_ZPmI_H | 0000010000000110100xxx1xxxxxxxxx | 0xffffe200 / 0x04068200 |
| 32 | SQSHL_ZPmI_S | 0000010001000110100xxxxxxxxxxxxx | 0xffffe000 / 0x04468000 |
| 32 | SQSHL_ZPmZ_B | 0100010000001000100xxxxxxxxxxxxx | 0xffffe000 / 0x44088000 |
| 32 | SQSHL_ZPmZ_D | 0100010011001000100xxxxxxxxxxxxx | 0xffffe000 / 0x44c88000 |
| 32 | SQSHL_ZPmZ_H | 0100010001001000100xxxxxxxxxxxxx | 0xffffe000 / 0x44488000 |
| 32 | SQSHL_ZPmZ_S | 0100010010001000100xxxxxxxxxxxxx | 0xffffe000 / 0x44888000 |
| 32 | SQSHL_ZPmI_D | 000001001x000110100xxxxxxxxxxxxx | 0xffbfe000 / 0x04868000 |
Operands
| Name | Description |
|---|---|
Zdn | |
Pg | |
_Zdn | |
imm | |
Zdn | |
_Zdn | |
imm | |
Zdn | |
_Zdn | |
imm | |
Zdn | |
_Zdn | |
imm | |
Zm |