[−][src]Struct simd::x86::sse2::u64x2
A SIMD vector of 2 u64
s.
Methods
impl u64x2
[src]
impl u64x2
pub const fn new(x0: u64, x1: u64) -> u64x2 | [src] |
Create a new instance.
pub const fn splat(x: u64) -> u64x2 | [src] |
Create a new instance where every lane has value x
.
pub fn eq(self, other: Self) -> bool64ix2 | [src] |
Compare for equality.
pub fn ne(self, other: Self) -> bool64ix2 | [src] |
Compare for equality.
pub fn lt(self, other: Self) -> bool64ix2 | [src] |
Compare for equality.
pub fn le(self, other: Self) -> bool64ix2 | [src] |
Compare for equality.
pub fn gt(self, other: Self) -> bool64ix2 | [src] |
Compare for equality.
pub fn ge(self, other: Self) -> bool64ix2 | [src] |
Compare for equality.
pub fn extract(self, idx: u32) -> u64 | [src] |
pub fn replace(self, idx: u32, elem: u64) -> Self | [src] |
Return a new vector where the idx
th lane is replaced
by elem
.
Panics
replace
will panic if idx
is out of bounds.
pub fn load(array: &[u64], idx: usize) -> Self | [src] |
Load a new value from the idx
th position of array
.
This is equivalent to the following, but is possibly more efficient:
Self::new(array[idx], array[idx + 1], ...)
Panics
load
will panic if idx
is out of bounds in
array
, or if array[idx..]
is too short.
pub fn store(self, array: &mut [u64], idx: usize) | [src] |
Store the elements of self
to array
, starting at
the idx
th position.
This is equivalent to the following, but is possibly more efficient:
array[i] = self.extract(0); array[i + 1] = self.extract(1); // ...
Panics
store
will panic if idx
is out of bounds in
array
, or if array[idx...]
is too short.
impl u64x2
[src]
impl u64x2
pub fn to_i64(self) -> i64x2 | [src] |
Convert each lane to a signed integer.
pub fn to_f64(self) -> f64x2 | [src] |
Convert each lane to a 64-bit float.
Trait Implementations
impl Simd for u64x2
[src]
impl Simd for u64x2
type Bool = bool64ix2
The corresponding boolean vector type.
type Elem = u64
The element that this vector stores.
impl Sse2U64x2 for u64x2
[src]
impl Sse2U64x2 for u64x2
impl Sse41U64x2 for u64x2
[src]
impl Sse41U64x2 for u64x2
fn testc(self, other: Self) -> i32 | [src] |
fn testnzc(self, other: Self) -> i32 | [src] |
fn testz(self, other: Self) -> i32 | [src] |
impl AvxU64x2 for u64x2
[src]
impl AvxU64x2 for u64x2
impl Clone for u64x2
[src]
impl Clone for u64x2
fn clone(&self) -> Self | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Copy for u64x2
[src]
impl Copy for u64x2
impl Debug for u64x2
[src]
impl Debug for u64x2
impl Add<u64x2> for u64x2
[src]
impl Add<u64x2> for u64x2
type Output = Self
The resulting type after applying the +
operator.
fn add(self, x: Self) -> Self | [src] |
impl Sub<u64x2> for u64x2
[src]
impl Sub<u64x2> for u64x2
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, x: Self) -> Self | [src] |
impl Mul<u64x2> for u64x2
[src]
impl Mul<u64x2> for u64x2
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, x: Self) -> Self | [src] |
impl Not for u64x2
[src]
impl Not for u64x2
impl BitAnd<u64x2> for u64x2
[src]
impl BitAnd<u64x2> for u64x2
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, x: Self) -> Self | [src] |
impl BitOr<u64x2> for u64x2
[src]
impl BitOr<u64x2> for u64x2
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, x: Self) -> Self | [src] |
impl BitXor<u64x2> for u64x2
[src]
impl BitXor<u64x2> for u64x2
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, x: Self) -> Self | [src] |
impl Shl<u8> for u64x2
[src]
impl Shl<u8> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u8) -> Self | [src] |
impl Shl<u16> for u64x2
[src]
impl Shl<u16> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u16) -> Self | [src] |
impl Shl<u32> for u64x2
[src]
impl Shl<u32> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u32) -> Self | [src] |
impl Shl<u64> for u64x2
[src]
impl Shl<u64> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u64) -> Self | [src] |
impl Shl<usize> for u64x2
[src]
impl Shl<usize> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: usize) -> Self | [src] |
impl Shl<i8> for u64x2
[src]
impl Shl<i8> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i8) -> Self | [src] |
impl Shl<i16> for u64x2
[src]
impl Shl<i16> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i16) -> Self | [src] |
impl Shl<i32> for u64x2
[src]
impl Shl<i32> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i32) -> Self | [src] |
impl Shl<i64> for u64x2
[src]
impl Shl<i64> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i64) -> Self | [src] |
impl Shl<isize> for u64x2
[src]
impl Shl<isize> for u64x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: isize) -> Self | [src] |
impl Shr<u8> for u64x2
[src]
impl Shr<u8> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u8) -> Self | [src] |
impl Shr<u16> for u64x2
[src]
impl Shr<u16> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u16) -> Self | [src] |
impl Shr<u32> for u64x2
[src]
impl Shr<u32> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u32) -> Self | [src] |
impl Shr<u64> for u64x2
[src]
impl Shr<u64> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u64) -> Self | [src] |
impl Shr<usize> for u64x2
[src]
impl Shr<usize> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: usize) -> Self | [src] |
impl Shr<i8> for u64x2
[src]
impl Shr<i8> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i8) -> Self | [src] |
impl Shr<i16> for u64x2
[src]
impl Shr<i16> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i16) -> Self | [src] |
impl Shr<i32> for u64x2
[src]
impl Shr<i32> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i32) -> Self | [src] |
impl Shr<i64> for u64x2
[src]
impl Shr<i64> for u64x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i64) -> Self | [src] |
impl Shr<isize> for u64x2
[src]
impl Shr<isize> for u64x2
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)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 for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |