SVE Instruction List by Dougall Johnson
CLASTB (scalar): Conditionally extract last element to general-purpose register
CLASTB Wdn, Pg, Wdn, Zm.B (SVE (SME
int8_t svclastb[_n_s8](svbool_t pg, int8_t fallback, svint8_t data)
uint8_t svclastb[_n_u8](svbool_t pg, uint8_t fallback, svuint8_t data)
128-bit SVE
Set (4) to the last (leftmost) 8-bit element from (2) where the corresponding predicate bit in (1) is non-zero. If there are no such elements, preserve the value from the low 8-bits of (3), zeroing the high bits.
256-bit SVE
Set (4) to the last (leftmost) 8-bit element from (2) where the corresponding predicate bit in (1) is non-zero. If there are no such elements, preserve the value from the low 8-bits of (3), zeroing the high bits.
512-bit SVE
Set (4) to the last (leftmost) 8-bit element from (2) where the corresponding predicate bit in (1) is non-zero. If there are no such elements, preserve the value from the low 8-bits of (3), zeroing the high bits.
Larger sizes
1024-bit SVE
Set (4) to the last (leftmost) 8-bit element from (2) where the corresponding predicate bit in (1) is non-zero. If there are no such elements, preserve the value from the low 8-bits of (3), zeroing the high bits.
2048-bit SVE
Set (4) to the last (leftmost) 8-bit element from (2) where the corresponding predicate bit in (1) is non-zero. If there are no such elements, preserve the value from the low 8-bits of (3), zeroing the high bits.
Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.