Skip to main content

__msa_bsel_v

Function __msa_bsel_v 

Source
pub unsafe fn __msa_bsel_v(a: v16u8, b: v16u8, c: v16u8) -> v16u8
🔬This is a nightly-only experimental API. (stdarch_mips #111198)
Available on MIPS-64 and target feature msa and (MIPS or MIPS-64) only.
Expand description

Vector Bit Select

Selectively copy bits from the source vectors b (eight unsigned 16-bit integer numbers) and c (eight unsigned 16-bit integer numbers) into destination vector a (eight unsigned 16-bit integer numbers) based on the corresponding bit in a: if 0 copies the bit from b, if 1 copies the bit from c.