[−][src]Function core::arch::mips::__msa_vshf_w
pub unsafe fn __msa_vshf_w(a: v4i32, b: v4i32, c: v4i32) -> v4i32
This is supported on MIPS and target feature
msa
only.Vector Data Preserving Shuffle
The vector shuffle instructions selectively copy data elements from the
concatenation of vectors b
(four signed 32-bit integer numbers)
and c
(four signed 32-bit integer numbers) in to vector a
(four signed 32-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.