Lookup table read with 6-bit indices (16-bit)
This instruction copies indexed 16-bit elements from the low 512 bits of the two table vectors to the destination vector using packed 6-bit indices from a segment in the bottom three quarters of the source vector register.
This instruction is unpredicated.
This instruction requires that the Effective SVE vector length is at least 512 bits.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | i1 | 1 | 1 | Zm | 1 | 0 | 1 | 0 | 1 | 1 | Zn | Zd | ||||||||||||
if !IsFeatureImplemented(FEAT_SVE2p3) && !IsFeatureImplemented(FEAT_SME2p3) then EndOfDecode(Decode_UNDEF); if MaxImplementedAnyVL() < 512 then EndOfDecode(Decode_UNDEF); constant integer isize = 6; constant integer esize = 16; constant integer m = UInt(Zm); constant integer n = UInt(Zn); constant integer d = UInt(Zd); constant integer part = UInt(i1);
| <Zd> |
Is the name of the destination scalable vector register, encoded in the "Zd" field. |
| <Zn1> |
Is the name of the first table vector register, encoded as "Zn". |
| <Zn2> |
Is the name of the second table vector register, encoded as "Zn" plus 1 modulo 32. |
| <Zm> |
Is the name of the source scalable vector register, encoded in the "Zm" field. |
| <index> |
Is the vector segment index, in the range 0 to 1, encoded in the "i1" field. |
CheckSVEEnabled(); constant integer VL = CurrentVL; if VL < 512 then EndOfDecode(Decode_UNDEF); constant integer elements = VL DIV esize; constant integer ibase = elements * part; constant bits(VL) indexes = Z[m, VL]; // Only bottom 3/4 used constant bits(1024) table = Z[(n+1) MOD 32, VL]<511:0> : Z[n+0, VL]<511:0>; bits(VL) result; for e = 0 to elements-1 constant integer index = UInt(Elem[indexes, ibase + e, isize]); constant bits(esize) res = Elem[table, index, esize]; Elem[result, e, esize] = res; Z[d, VL] = result;
This instruction is a data-independent-time instruction as described in About PSTATE.DIT.
Version 2025.09 — Copyright © 2010-2025 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.