Struct simd::u16x8[][src]

#[repr(simd)]
pub struct u16x8(_, _, _, _, _, _, _, _);

A SIMD vector of 8 u16s.

Methods

impl u16x8
[src]

Create a new instance.

Create a new instance where every lane has value x.

Compare for equality.

Compare for equality.

Compare for equality.

Compare for equality.

Compare for equality.

Compare for equality.

Extract the value of the idxth lane of self.

Panics

extract will panic if idx is out of bounds.

Return a new vector where the idxth lane is replaced by elem.

Panics

replace will panic if idx is out of bounds.

Load a new value from the idxth position of array.

This is equivalent to the following, but is possibly more efficient:

This example is not tested
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.

Store the elements of self to array, starting at the idxth position.

This is equivalent to the following, but is possibly more efficient:

This example is not tested
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 u16x8
[src]

Convert each lane to a signed integer.

Trait Implementations

impl Not for u16x8
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl Add for u16x8
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for u16x8
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Mul for u16x8
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl BitAnd for u16x8
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitOr for u16x8
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitXor for u16x8
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl Shl<u8> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<u8> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<u16> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<u16> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<u32> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<u32> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<u64> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<u64> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<usize> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<usize> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<i8> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i8> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<i16> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i16> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<i32> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i32> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<i64> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<i64> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl<isize> for u16x8
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<isize> for u16x8
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Sse2U16x8 for u16x8
[src]

impl Ssse3U16x8 for u16x8
[src]

impl Sse41U16x8 for u16x8
[src]

impl AvxU16x8 for u16x8
[src]

impl Debug for u16x8
[src]

Formats the value using the given formatter. Read more

impl Copy for u16x8
[src]

impl Simd for u16x8
[src]

The corresponding boolean vector type.

The element that this vector stores.

impl Clone for u16x8
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for u16x8

impl Sync for u16x8