ARM / OFFLINE REFERENCE

On this page
← Home

LUTI6 (table, single, 8-bit)

Lookup table read with 6-bit indices (single)

This instruction copies indexed 8-bit elements from ZT0 to the destination vector using packed 6-bit indices from the bottom three quarters of the source vector. This instruction is unpredicated.

SME2 class
(FEAT_SME2p3)

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
1 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 0 0 Zn Zd
opc size opc2

Encoding

LUTI6 <Zd>.B, ZT0, <Zn>

Decode

if !IsFeatureImplemented(FEAT_SME2p3) then EndOfDecode(Decode_UNDEF); end;
let esize : integer{} = 8;
let isize : integer{} = 6;
let n : integer = UInt(Zn);
let d : integer = UInt(Zd);

Assembler Symbols

<Zd>

Is the name of the destination scalable vector register, encoded in the "Zd" field.

<Zn>

Is the name of the source scalable vector register, encoded in the "Zn" field.

Operation

CheckStreamingSVEEnabled();
CheckSMEZT0Enabled();
let VL : integer{} = CurrentVL();
let elements : integer = VL DIV esize;
let indexes : bits(VL) = Z{VL}(n); // Only 3/4 used
let table : bits(512) = ZT0{}();
var result : bits(VL);
for e = 0 to elements-1 do
    let index : integer = UInt(indexes[e*:isize]);
    result[e*:esize] = table[index*:esize];
end;
Z{VL}(d) = result;

Operational information

This instruction is a data-independent-time instruction as described in About PSTATE.DIT.


Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.