SMOV
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userA64, NEON, NEONandIsStreamingSafeSummary
AArch64 SMOV instruction (A64, 32-bit) with 10 encoding variants extracted from LLVM TableGen. Extensions: NEON, NEONandIsStreamingSafe.
Syntax / Encoding
SMOVvi16to32_idx0: smov $Rd, $Rn.h$idx SMOVvi32to64_idx0: smov $Rd, $Rn.s$idx SMOVvi8to32_idx0: smov $Rd, $Rn.b$idx
Cross-Chip Latency & Throughput (4 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| Arm Neoverse N1 | 2 | 1 | 1 | N1UnitV1 | llvm_sched_models |
| Arm Neoverse N3 | 2 | 1 | 2 | N3UnitV+N3UnitV | llvm_sched_models |
| Arm Neoverse V1 | 2 | 0.25 | 1 | V1UnitV | llvm_sched_models |
| NVIDIA Olympus (Vera) | 3 | 1 | 2 | OlympusUnitV03+OlympusUnitV03 | llvm_sched_models |
Binary Encodings (10)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | SMOVvi16to32_idx0 | 0000111000000010001011xxxxxxxxxx | 0xfffffc00 / 0x0e022c00 |
| 32 | SMOVvi16to64_idx0 | 0100111000000010001011xxxxxxxxxx | 0xfffffc00 / 0x4e022c00 |
| 32 | SMOVvi32to64_idx0 | 0100111000000100001011xxxxxxxxxx | 0xfffffc00 / 0x4e042c00 |
| 32 | SMOVvi8to32_idx0 | 0000111000000001001011xxxxxxxxxx | 0xfffffc00 / 0x0e012c00 |
| 32 | SMOVvi8to64_idx0 | 0100111000000001001011xxxxxxxxxx | 0xfffffc00 / 0x4e012c00 |
| 32 | SMOVvi32to64 | 01001110000xx100001011xxxxxxxxxx | 0xffe7fc00 / 0x4e042c00 |
| 32 | SMOVvi16to32 | 00001110000xxx10001011xxxxxxxxxx | 0xffe3fc00 / 0x0e022c00 |
| 32 | SMOVvi16to64 | 01001110000xxx10001011xxxxxxxxxx | 0xffe3fc00 / 0x4e022c00 |
| 32 | SMOVvi8to32 | 00001110000xxxx1001011xxxxxxxxxx | 0xffe1fc00 / 0x0e012c00 |
| 32 | SMOVvi8to64 | 01001110000xxxx1001011xxxxxxxxxx | 0xffe1fc00 / 0x4e012c00 |
Operands
| Name | Description |
|---|---|
Rd | |
Rn | |
idx | |
idx | |
Rd | |
idx | |
idx |