SVE Instruction List by Dougall Johnson
CLASTB (SIMD&FP scalar): Conditionally extract last element to SIMD&FP scalar register
CLASTB Hdn, Pg, Hdn, Zm.H (SVE (SME
bfloat16_t svclastb[_n_bf16](svbool_t pg, bfloat16_t fallback, svbfloat16_t data)
float16_t svclastb[_n_f16](svbool_t pg, float16_t fallback, svfloat16_t data)
int16_t svclastb[_n_s16](svbool_t pg, int16_t fallback, svint16_t data)
uint16_t svclastb[_n_u16](svbool_t pg, uint16_t fallback, svuint16_t data)
128-bit SVE
Set (4) to the last (leftmost) 16-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 16-bit element of (3), zeroing all other elements.
256-bit SVE
Set (4) to the last (leftmost) 16-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 16-bit element of (3), zeroing all other elements.
512-bit SVE
Set (4) to the last (leftmost) 16-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 16-bit element of (3), zeroing all other elements.
Larger sizes
1024-bit SVE
Set (4) to the last (leftmost) 16-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 16-bit element of (3), zeroing all other elements.
2048-bit SVE
Set (4) to the last (leftmost) 16-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 16-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.