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

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

LASTA Wd, Pg, Zn.H (SVE (SME
bfloat16_t svlasta[_bf16](svbool_t pg, svbfloat16_t op)
float16_t svlasta[_f16](svbool_t pg, svfloat16_t op)
int16_t svlasta[_s16](svbool_t pg, svint16_t op)
uint16_t svlasta[_u16](svbool_t pg, svuint16_t op)

128-bit SVE

Find the last (leftmost) 16-bit element from (2) where the corresponding predicate bit in (1) is non-zero, then set (3) to the next element. If all corresponding predicate bits are zero, or the last corresponding predicate bit is non-zero, set (3) to the first (rightmost) element from (1).

256-bit SVE

Find the last (leftmost) 16-bit element from (2) where the corresponding predicate bit in (1) is non-zero, then set (3) to the next element. If all corresponding predicate bits are zero, or the last corresponding predicate bit is non-zero, set (3) to the first (rightmost) element from (1).

512-bit SVE

Find the last (leftmost) 16-bit element from (2) where the corresponding predicate bit in (1) is non-zero, then set (3) to the next element. If all corresponding predicate bits are zero, or the last corresponding predicate bit is non-zero, set (3) to the first (rightmost) element from (1).

Larger sizes

1024-bit SVE

Find the last (leftmost) 16-bit element from (2) where the corresponding predicate bit in (1) is non-zero, then set (3) to the next element. If all corresponding predicate bits are zero, or the last corresponding predicate bit is non-zero, set (3) to the first (rightmost) element from (1).

2048-bit SVE

Find the last (leftmost) 16-bit element from (2) where the corresponding predicate bit in (1) is non-zero, then set (3) to the next element. If all corresponding predicate bits are zero, or the last corresponding predicate bit is non-zero, set (3) to the first (rightmost) element from (1).

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