SVE Instruction List by Dougall Johnson
See "CLASTB (SIMD&FP scalar)" in the exploration tools

CLASTB (SIMD&FP scalar): Conditionally extract last element to SIMD&FP scalar register

CLASTB Sdn, Pg, Sdn, Zm.S (SVE (SME
float32_t svclastb[_n_f32](svbool_t pg, float32_t fallback, svfloat32_t data)
int32_t svclastb[_n_s32](svbool_t pg, int32_t fallback, svint32_t data)
uint32_t svclastb[_n_u32](svbool_t pg, uint32_t fallback, svuint32_t data)

128-bit SVE

Set (4) to the last (leftmost) 32-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 first 32-bit element of (3), zeroing all other elements.

256-bit SVE

Set (4) to the last (leftmost) 32-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 first 32-bit element of (3), zeroing all other elements.

512-bit SVE

Set (4) to the last (leftmost) 32-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 first 32-bit element of (3), zeroing all other elements.

Larger sizes

1024-bit SVE

Set (4) to the last (leftmost) 32-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 first 32-bit element of (3), zeroing all other elements.

2048-bit SVE

Set (4) to the last (leftmost) 32-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 first 32-bit element of (3), zeroing all other elements.

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