Struct core::simd::i64x2[][src]

#[repr(simd)]
pub struct i64x2(_, _);
🔬 This is a nightly-only experimental API. (stdsimd #48556)

A 128-bit vector with 2 u64 lanes.

Methods

impl i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Creates a new instance with each vector elements initialized with the provided values.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Returns the number of vector lanes.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Constructs a new instance with each element initialized to value.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Extracts the value at index.

Panics

If index >= Self::lanes().

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Extracts the value at index.

Precondition

If index >= Self::lanes() the behavior is undefined.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Returns a new vector where the value at index is replaced by new_value.

Panics

If index >= Self::lanes().

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Returns a new vector where the value at index is replaced by new_value.

Precondition

If index >= Self::lanes() the behavior is undefined.

impl i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Writes the values of the vector to the slice.

Panics

If slice.len() < Self::lanes() or &slice[0] is not aligned to an align_of::<Self>() boundary.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Writes the values of the vector to the slice.

Panics

If slice.len() < Self::lanes().

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Writes the values of the vector to the slice.

Precondition

If slice.len() < Self::lanes() or &slice[0] is not aligned to an align_of::<Self>() boundary, the behavior is undefined.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Writes the values of the vector to the slice.

Precondition

If slice.len() < Self::lanes() the behavior is undefined.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Instantiates a new vector with the values of the slice.

Panics

If slice.len() < Self::lanes() or &slice[0] is not aligned to an align_of::<Self>() boundary.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Instantiates a new vector with the values of the slice.

Panics

If slice.len() < Self::lanes().

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Instantiates a new vector with the values of the slice.

Precondition

If slice.len() < Self::lanes() or &slice[0] is not aligned to an align_of::<Self>() boundary, the behavior is undefined.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Instantiates a new vector with the values of the slice.

Precondition

If slice.len() < Self::lanes() the behavior is undefined.

impl i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise equality comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise inequality comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise less-than comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise less-than-or-equals comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise greater-than comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise greater-than-or-equals comparison.

impl i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Horizontal sum of the vector elements.

The intrinsic performs a tree-reduction of the vector elements. That is, for an 8 element vector:

((x0 + x1) + (x2 + x3)) + ((x4 + x5) + (x6 + x7))

Integer vectors

If an operation overflows it returns the mathematical result modulo 2^n where n is the number of times it overflows.

Floating-point vectors

If one of the vector element is NaN the reduction returns NaN.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Horizontal product of the vector elements.

The intrinsic performs a tree-reduction of the vector elements. That is, for an 8 element vector:

((x0 * x1) * (x2 * x3)) * ((x4 * x5) * (x6 * x7))

Integer vectors

If an operation overflows it returns the mathematical result modulo 2^n where n is the number of times it overflows.

Floating-point vectors

If one of the vector element is NaN the reduction returns NaN.

impl i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Largest vector element value.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Smallest vector element value.

impl i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise bitwise and of the vector elements.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise bitwise or of the vector elements.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise bitwise xor of the vector elements.

impl i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Minimum of two vectors.

Returns a new vector containing the minimum value of each of the input vector lanes.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Maximum of two vectors.

Returns a new vector containing the minimum value of each of the input vector lanes.

Trait Implementations

impl Copy for i64x2
[src]

impl Clone for i64x2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for i64x2
[src]

Formats the value using the given formatter. Read more

impl PartialOrd for i64x2
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for i64x2
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Add for i64x2
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for i64x2
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Mul for i64x2
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div for i64x2
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Rem for i64x2
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl AddAssign for i64x2
[src]

Performs the += operation.

impl SubAssign for i64x2
[src]

Performs the -= operation.

impl MulAssign for i64x2
[src]

Performs the *= operation.

impl DivAssign for i64x2
[src]

Performs the /= operation.

impl RemAssign for i64x2
[src]

Performs the %= operation.

impl Add<i64> for i64x2
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<i64x2> for i64
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub<i64> for i64x2
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<i64x2> for i64
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Mul<i64> for i64x2
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<i64x2> for i64
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div<i64> for i64x2
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Div<i64x2> for i64
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Rem<i64> for i64x2
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl Rem<i64x2> for i64
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl AddAssign<i64> for i64x2
[src]

Performs the += operation.

impl SubAssign<i64> for i64x2
[src]

Performs the -= operation.

impl MulAssign<i64> for i64x2
[src]

Performs the *= operation.

impl DivAssign<i64> for i64x2
[src]

Performs the /= operation.

impl RemAssign<i64> for i64x2
[src]

Performs the %= operation.

impl Neg for i64x2
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl Not for i64x2
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl BitXor for i64x2
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitAnd for i64x2
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitOr for i64x2
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitAndAssign for i64x2
[src]

Performs the &= operation.

impl BitOrAssign for i64x2
[src]

Performs the |= operation.

impl BitXorAssign for i64x2
[src]

Performs the ^= operation.

impl BitXor<i64> for i64x2
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitXor<i64x2> for i64
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitAnd<i64> for i64x2
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAnd<i64x2> for i64
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitOr<i64> for i64x2
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOr<i64x2> for i64
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitAndAssign<i64> for i64x2
[src]

Performs the &= operation.

impl BitOrAssign<i64> for i64x2
[src]

Performs the |= operation.

impl BitXorAssign<i64> for i64x2
[src]

Performs the ^= operation.

impl Shl<u8> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<u8> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<u8> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<u8> for i64x2
[src]

Performs the >>= operation.

impl Shl<u16> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<u16> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<u16> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<u16> for i64x2
[src]

Performs the >>= operation.

impl Shl<u32> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<u32> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<u32> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<u32> for i64x2
[src]

Performs the >>= operation.

impl Shl<u64> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<u64> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<u64> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<u64> for i64x2
[src]

Performs the >>= operation.

impl Shl<usize> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<usize> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<usize> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<usize> for i64x2
[src]

Performs the >>= operation.

impl Shl<i8> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i8> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<i8> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<i8> for i64x2
[src]

Performs the >>= operation.

impl Shl<i16> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i16> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<i16> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<i16> for i64x2
[src]

Performs the >>= operation.

impl Shl<i32> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i32> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<i32> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<i32> for i64x2
[src]

Performs the >>= operation.

impl Shl<i64> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i64> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<i64> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<i64> for i64x2
[src]

Performs the >>= operation.

impl Shl<isize> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<isize> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<isize> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<isize> for i64x2
[src]

Performs the >>= operation.

impl Shl<i64x2> for i64x2
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i64x2> for i64x2
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl ShlAssign<i64x2> for i64x2
[src]

Performs the <<= operation.

impl ShrAssign<i64x2> for i64x2
[src]

Performs the >>= operation.

impl LowerHex for i64x2
[src]

Formats the value using the given formatter.

impl UpperHex for i64x2
[src]

Formats the value using the given formatter.

impl Octal for i64x2
[src]

Formats the value using the given formatter.

impl Binary for i64x2
[src]

Formats the value using the given formatter.

impl Eq for i64x2
[src]

impl PartialEq<i64x2> for i64x2
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for i64x2
[src]

Returns the "default value" for a type. Read more

impl FromBits<i64x2> for u64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<u64x2> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<f64x2> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<m64x2> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<u32x4> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i32x4> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<f32x4> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<m32x4> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<u16x8> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i16x8> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<m16x8> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<u8x16> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i8x16> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<m8x16> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<__m128> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<__m128i> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<__m128d> for i64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for f64x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for u32x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for i32x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for f32x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for u16x8
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for i16x8
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for u8x16
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for i8x16
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl From<i64x2> for f64x2
[src]

Performs the conversion.

impl From<i64x2> for u64x2
[src]

Performs the conversion.

impl From<f64x2> for i64x2
[src]

Performs the conversion.

impl From<u64x2> for i64x2
[src]

Performs the conversion.

impl From<m64x2> for i64x2
[src]

Performs the conversion.

impl From<i32x2> for i64x2
[src]

Performs the conversion.

impl From<u32x2> for i64x2
[src]

Performs the conversion.

impl From<f32x2> for i64x2
[src]

Performs the conversion.

impl From<m32x2> for i64x2
[src]

Performs the conversion.

impl From<i16x2> for i64x2
[src]

Performs the conversion.

impl From<u16x2> for i64x2
[src]

Performs the conversion.

impl From<m16x2> for i64x2
[src]

Performs the conversion.

impl From<i8x2> for i64x2
[src]

Performs the conversion.

impl From<u8x2> for i64x2
[src]

Performs the conversion.

impl From<m8x2> for i64x2
[src]

Performs the conversion.

impl From<i64x2> for i8x2
[src]

Performs the conversion.

impl From<i64x2> for u8x2
[src]

Performs the conversion.

impl From<i64x2> for i16x2
[src]

Performs the conversion.

impl From<i64x2> for u16x2
[src]

Performs the conversion.

impl From<i64x2> for f32x2
[src]

Performs the conversion.

impl From<i64x2> for u32x2
[src]

Performs the conversion.

impl From<i64x2> for i32x2
[src]

Performs the conversion.

impl FromBits<i64x2> for __m128
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for __m128i
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for __m128d
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for float64x2_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for int8x16_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for uint8x16_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for poly8x16_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for int16x8_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for uint16x8_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for poly16x8_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for int32x4_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for uint32x4_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for float32x4_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for int64x2_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i64x2> for uint64x2_t
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

Auto Trait Implementations

impl Send for i64x2

impl Sync for i64x2