Function core::arch::powerpc64::vec_sldw

source ·
pub unsafe fn vec_sldw<T, const UIMM2: i32>(a: T, b: T) -> T
where T: VectorSld,
🔬This is a nightly-only experimental API. (stdarch_powerpc #111145)
Available on (PowerPC or PowerPC-64) and target feature altivec and PowerPC-64 only.
Expand description

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.