Function vec_perm
#[target_feature(enable = "vector")]
pub unsafe fn vec_perm<T: VectorPerm>(a: T, b: T, c: vector_unsigned_char) -> T
Vector Permute
Returns a vector that contains some elements of two vectors, in the order specified by a third vector.
Each byte of the result is selected by using the least significant 5 bits of the corresponding byte of c as an index into the concatenated bytes of a and b.
Note: The vector generate mask built-in function vec_genmask could help generate the mask c.