SVE Instruction List by Dougall Johnson
TBL: Programmable table lookup in one or two vector table (zeroing)
TBL Zd.B, { Zn.B }, Zm.B (SVE (SME
svint8_t svtbl[_s8](svint8_t data, svuint8_t indices)
svuint8_t svtbl[_u8](svuint8_t data, svuint8_t indices)
128-bit SVE
For each 8-bit index from (2), if 0 ≤ (2) < 16, set (3) to the 8-bit element at that index in (1), otherwise set (3) to zero.
256-bit SVE
For each 8-bit index from (2), if 0 ≤ (2) < 32, set (3) to the 8-bit element at that index in (1), otherwise set (3) to zero.
512-bit SVE
For each 8-bit index from (2), if 0 ≤ (2) < 64, set (3) to the 8-bit element at that index in (1), otherwise set (3) to zero.
Larger sizes
1024-bit SVE
For each 8-bit index from (2), if 0 ≤ (2) < 128, set (3) to the 8-bit element at that index in (1), otherwise set (3) to zero.
2048-bit SVE
For each 8-bit index from (2), set (3) to the 8-bit element at that index in (1). Optional zeroing is not possible on 2048-bit SVE.
Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.