LUTI4
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userSME, LUT, NonStreamingSVE2_or_SME2, SME2, SME2p1, SME_LUTv2Summary
AArch64 LUTI4 instruction (SME, 32-bit) with 16 encoding variants extracted from LLVM TableGen. Extensions: LUT, NonStreamingSVE2_or_SME2, SME2, SME2p1.
Syntax / Encoding
LUTI4_4ZZT2Z: luti4 $Zd, $ZTt, $Zn LUTI4_4ZTZI_H: luti4 $Zd, $ZTt, $Zn$i LUTI4_ZZZI_B: luti4 $Zd, $Zn, $Zm$idx
Cross-Chip Latency & Throughput (1 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| NVIDIA Olympus (Vera) | 2 | 0.17 | 1 | OlympusUnitV | llvm_sched_models |
Binary Encodings (12)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | LUTI4_4ZZT2Z | 1100000010001011000000xxxx0xxx00 | 0xfffffc23 / 0xc08b0000 |
| 32 | LUTI4_4ZTZI_H | 110000001000101x100100xxxxxxxx00 | 0xfffefc03 / 0xc08a9000 |
| 32 | LUTI4_4ZTZI_S | 110000001000101x101000xxxxxxxx00 | 0xfffefc03 / 0xc08aa000 |
| 32 | LUTI4_S_4ZTZI_H | 110000001001101x100100xxxxxx00xx | 0xfffefc0c / 0xc09a9000 |
| 32 | LUTI4_2ZTZI_B | 110000001000101xx10000xxxxxxxxx0 | 0xfffe7c01 / 0xc08a4000 |
| 32 | LUTI4_2ZTZI_H | 110000001000101xx10100xxxxxxxxx0 | 0xfffe7c01 / 0xc08a5000 |
| 32 | LUTI4_2ZTZI_S | 110000001000101xx11000xxxxxxxxx0 | 0xfffe7c01 / 0xc08a6000 |
| 32 | LUTI4_S_2ZTZI_B | 110000001001101xx10000xxxxxx0xxx | 0xfffe7c08 / 0xc09a4000 |
| 32 | LUTI4_S_2ZTZI_H | 110000001001101xx10100xxxxxx0xxx | 0xfffe7c08 / 0xc09a5000 |
| 32 | LUTI4_ZTZI_B | 110000001100101xxx0000xxxxxxxxxx | 0xfffe3c00 / 0xc0ca0000 |
| 32 | LUTI4_ZTZI_H | 110000001100101xxx0100xxxxxxxxxx | 0xfffe3c00 / 0xc0ca1000 |
| 32 | LUTI4_ZTZI_S | 110000001100101xxx1000xxxxxxxxxx | 0xfffe3c00 / 0xc0ca2000 |
Operands
| Name | Description |
|---|---|
Zd | |
ZTt | |
Zn | |
i | |
Zd | |
Zd | |
Zd | |
i | |
Zd | |
Zd | |
Zn | |
Zd | |
Zd | |
Zd |