UQSHL
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userSME, SVE2_or_SMESummary
AArch64 UQSHL instruction (SME, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: SVE2_or_SME.
Syntax / Encoding
UQSHL_ZPmI_B: uqshl $Zdn, $Pg/m, $_Zdn, $imm UQSHL_ZPmZ_B: uqshl $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 | UQSHL_ZPmI_B | 0000010000000111100xxx01xxxxxxxx | 0xffffe300 / 0x04078100 |
| 32 | UQSHL_ZPmI_H | 0000010000000111100xxx1xxxxxxxxx | 0xffffe200 / 0x04078200 |
| 32 | UQSHL_ZPmI_S | 0000010001000111100xxxxxxxxxxxxx | 0xffffe000 / 0x04478000 |
| 32 | UQSHL_ZPmZ_B | 0100010000001001100xxxxxxxxxxxxx | 0xffffe000 / 0x44098000 |
| 32 | UQSHL_ZPmZ_D | 0100010011001001100xxxxxxxxxxxxx | 0xffffe000 / 0x44c98000 |
| 32 | UQSHL_ZPmZ_H | 0100010001001001100xxxxxxxxxxxxx | 0xffffe000 / 0x44498000 |
| 32 | UQSHL_ZPmZ_S | 0100010010001001100xxxxxxxxxxxxx | 0xffffe000 / 0x44898000 |
| 32 | UQSHL_ZPmI_D | 000001001x000111100xxxxxxxxxxxxx | 0xffbfe000 / 0x04878000 |
Operands
| Name | Description |
|---|---|
Zdn | |
Pg | |
_Zdn | |
imm | |
Zdn | |
_Zdn | |
imm | |
Zdn | |
_Zdn | |
imm | |
Zdn | |
_Zdn | |
imm | |
Zm |