Function vec_sldw
#[target_feature(enable = "altivec")]
pub unsafe fn vec_sldw<T, const UIMM2: i32>(a: T, b: T) -> T
where
T: VectorSld,
Vector Shift Left Double by Words
Endian considerations
This intrinsic is not endian-neutral, so uses of vec_sldw in big-endian code must be rewritten for little-endian targets.
The concatenation of a and b is done in big-endian fashion (left to right), and the shift is always to the left. This will generally produce surprising results for little- endian targets.