[−][src]Struct simulated_packed_simd::u64x4
4x64-bit vectors
Methods
impl u64x4
[src]
pub fn new(x0: u64, x1: u64, x2: u64, x3: u64) -> Self
[src]
Create new instance
pub fn splat(x: u64) -> Self
[src]
Create new instance with all lanes set to a value
pub fn extract(self, idx: usize) -> u64
[src]
Get the idx
th lane value
pub fn replace(self, idx: usize, elem: u64) -> Self
[src]
Replace the idx
th lane with new value
pub fn load(array: &[u64], idx: usize) -> Self
[src]
Load instance from an array
pub fn from_slice_aligned(slice: &[u64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub fn from_slice_unaligned(slice: &[u64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub unsafe fn from_slice_aligned_unchecked(slice: &[u64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub unsafe fn from_slice_unaligned_unchecked(slice: &[u64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub fn store(self, array: &mut [u64], idx: usize)
[src]
Store self to an array
pub fn write_to_slice_aligned(self, slice: &mut [u64])
[src]
Writes the values of the vector to the slice.
pub fn write_to_slice_unaligned(self, slice: &mut [u64])
[src]
Writes the values of the vector to the slice.
pub unsafe fn write_to_slice_aligned_unchecked(self, slice: &mut [u64])
[src]
Writes the values of the vector to the slice.
pub unsafe fn write_to_slice_unaligned_unchecked(self, slice: &mut [u64])
[src]
Writes the values of the vector to the slice.
pub fn eq(self, rhs: Self) -> bool64x4
[src]
Compare if equal
pub fn ne(self, rhs: Self) -> bool64x4
[src]
Compare if not equal
pub fn lt(self, rhs: Self) -> bool64x4
[src]
Compare if less than
pub fn le(self, rhs: Self) -> bool64x4
[src]
Compare if less than or equal
pub fn gt(self, rhs: Self) -> bool64x4
[src]
Compare if greater than
pub fn ge(self, rhs: Self) -> bool64x4
[src]
Compare if greater than or equal
pub fn max(self, rhs: Self) -> Self
[src]
Get max values by lane
pub fn min(self, rhs: Self) -> Self
[src]
Get min values by lane
impl u64x4
[src]
pub fn select(&self, then: Self, else_: Self) -> Self
[src]
Select between elements of then
and else_
, based on
the corresponding element of self
.
Equivalent to:
T::new(if self.0 { then.0 } else { else_.0 },
if self.1 { then.1 } else { else_.1 },
...)
impl u64x4
[src]
impl u64x4
[src]
impl u64x4
[src]
Trait Implementations
impl Add<u64x4> for u64x4
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
impl BitAnd<u64x4> for u64x4
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitOr<u64x4> for u64x4
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
impl BitXor<u64x4> for u64x4
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self
[src]
impl Clone for u64x4
[src]
impl Copy for u64x4
[src]
impl Debug for u64x4
[src]
impl Div<u64x4> for u64x4
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self
[src]
impl From<bool64x4> for u64x4
[src]
impl From<f64x4> for u64x4
[src]
impl From<i64x4> for u64x4
[src]
impl From<u32x4> for u64x4
[src]
impl From<u64x4> for i64x4
[src]
impl From<u64x4> for f64x4
[src]
impl From<u64x4> for u32x4
[src]
impl FromCast<bool64x4> for u64x4
[src]
impl FromCast<f64x4> for u64x4
[src]
impl FromCast<i64x4> for u64x4
[src]
impl FromCast<u32x4> for u64x4
[src]
impl FromCast<u64x4> for i64x4
[src]
impl FromCast<u64x4> for f64x4
[src]
impl FromCast<u64x4> for u32x4
[src]
impl Mul<u64x4> for u64x4
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
impl Not for u64x4
[src]
impl Shl<u32> for u64x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, sz: u32) -> Self
[src]
impl Shr<u32> for u64x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, sz: u32) -> Self
[src]
impl Sub<u64x4> for u64x4
[src]
Auto Trait Implementations
impl RefUnwindSafe for u64x4
impl Send for u64x4
impl Sync for u64x4
impl Unpin for u64x4
impl UnwindSafe for u64x4
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,