SVE Instruction List by Dougall Johnson
See "LASTB (scalar)" in the exploration tools

LASTB (scalar): Extract last element to general-purpose register

LASTB Wd, Pg, Zn.S (SVE (SME
float32_t svlastb[_f32](svbool_t pg, svfloat32_t op)
int32_t svlastb[_s32](svbool_t pg, svint32_t op)
uint32_t svlastb[_u32](svbool_t pg, svuint32_t op)

128-bit SVE

Set (3) 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, set (3) to the last (leftmost) element from (1).

256-bit SVE

Set (3) 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, set (3) to the last (leftmost) element from (1).

512-bit SVE

Set (3) 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, set (3) to the last (leftmost) element from (1).

Larger sizes

1024-bit SVE

Set (3) 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, set (3) to the last (leftmost) element from (1).

2048-bit SVE

Set (3) 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, set (3) to the last (leftmost) element from (1).

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