SVE Instruction List by Dougall Johnson
See "LUTI4 (8-bit and 16-bit)" in the exploration tools

LUTI4: Lookup table read with 4-bit indices

LUTI4 Zd.H, { Zn1.H, Zn2.H }, Zm[index] (SVE2+LUT+NS (SME2+LUT

128-bit SVE

For each 16-bit element, use a 4-bit index from a segment of (1) to look up a 16-bit element from the two-register table (2), writing the result to (3). The segment is selected by the immediate index.

256-bit SVE

For each 16-bit element, use a 4-bit index from a segment of (1) to look up a 16-bit element from the two-register table (2), writing the result to (3). The segment is selected by the immediate index.

512-bit SVE

For each 16-bit element, use a 4-bit index from a segment of (1) to look up a 16-bit element from the two-register table (2), writing the result to (3). The segment is selected by the immediate index.

Larger sizes

1024-bit SVE

For each 16-bit element, use a 4-bit index from a segment of (1) to look up a 16-bit element from the two-register table (2), writing the result to (3). The segment is selected by the immediate index.

2048-bit SVE

For each 16-bit element, use a 4-bit index from a segment of (1) to look up a 16-bit element from the two-register table (2), writing the result to (3). The segment is selected by the immediate index.

Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.