Trait SimdBase64

Source
pub trait SimdBase64: SimdBase
where Self::Scalar: Scalar<Unsigned = u64, Signed = i64>,
{ // Required method fn mul_lo(&self, other: Self) -> Self; }
Expand description

A vector containing 64-bit values.

Required Methods§

Source

fn mul_lo(&self, other: Self) -> Self

Zero out the upper-32 bits of each word, and then perform pairwise multiplication.

§Example
assert_eq!(
    U64x4::from([6, 7, 8, 9]).mul_lo(U64x4::from([1, 2, 3, 4])),
    U64x4::from([6, 14, 24, 36]),
);
assert_eq!(
    U64x4::from([6, 7, 8, 9]).mul_lo(
        U64x4::from([1, 2, 3, 4]) | U64x4::broadcast(u64::MAX << 32)
    ),
    U64x4::from([6, 14, 24, 36]),
);

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§