Function core::arch::mips64::__msa_vshf_d
source · pub unsafe fn __msa_vshf_d(a: v2i64, b: v2i64, c: v2i64) -> v2i64
🔬This is a nightly-only experimental API. (
stdarch_mips
#111198)Available on (MIPS or MIPS-64) and target feature
msa
and MIPS-64 only.Expand description
Vector Data Preserving Shuffle
The vector shuffle instructions selectively copy data elements from the
concatenation of vectors b
(two signed 64-bit integer numbers)
and c
(two signed 64-bit integer numbers) in to vector a
(two signed 64-bit integer numbers) based on the corresponding control element in a
.
The least significant 6 bits in a
control elements modulo the number of elements in
the concatenated vectors b
, a
specify the index of the source element.
If bit 6 or bit 7 is 1, there will be no copy, but rather the destination element is set to 0.