SVE Instruction List by Dougall Johnson
TBX: Programmable table lookup in single vector table (merging)
TBX Zd.B, Zn.B, Zm.B (SVE2 (SME
svint8_t svtbx[_s8](svint8_t fallback, svint8_t data, svuint8_t indices)
svuint8_t svtbx[_u8](svuint8_t fallback, svuint8_t data, svuint8_t indices)
128-bit SVE
For each 8-bit index from (2), if 0 ≤ (2) < 16, set (4) to the 8-bit element at that index in (1), otherwise preserve the value from (3).
256-bit SVE
For each 8-bit index from (2), if 0 ≤ (2) < 32, set (4) to the 8-bit element at that index in (1), otherwise preserve the value from (3).
512-bit SVE
For each 8-bit index from (2), if 0 ≤ (2) < 64, set (4) to the 8-bit element at that index in (1), otherwise preserve the value from (3).
Larger sizes
1024-bit SVE
For each 8-bit index from (2), if 0 ≤ (2) < 128, set (4) to the 8-bit element at that index in (1), otherwise preserve the value from (3).
2048-bit SVE
For each 8-bit index from (2), set (3) to the 8-bit element at that index in (1). Preserving values 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.