SVE Instruction List by Dougall Johnson
See "BEXT" in the exploration tools

BEXT: Gather lower bits from positions selected by bitmask

BEXT Zd.D, Zn.D, Zm.D (SVE2+BitPerm+NS
svuint64_t svbext[_u64](svuint64_t op1, svuint64_t op2)

128-bit SVE

Within each 64-bit lane, extract bits from (1) at positions indicated by the non-zero bits from (2), and place them in the least-significant bits of (3), zeroing upper any upper bits. The order of the bits is preserved.

256-bit SVE

Within each 64-bit lane, extract bits from (1) at positions indicated by the non-zero bits from (2), and place them in the least-significant bits of (3), zeroing upper any upper bits. The order of the bits is preserved.

512-bit SVE

Within each 64-bit lane, extract bits from (1) at positions indicated by the non-zero bits from (2), and place them in the least-significant bits of (3), zeroing upper any upper bits. The order of the bits is preserved.

Larger sizes

1024-bit SVE

Within each 64-bit lane, extract bits from (1) at positions indicated by the non-zero bits from (2), and place them in the least-significant bits of (3), zeroing upper any upper bits. The order of the bits is preserved.

2048-bit SVE

Within each 64-bit lane, extract bits from (1) at positions indicated by the non-zero bits from (2), and place them in the least-significant bits of (3), zeroing upper any upper bits. The order of the bits is preserved.

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