Struct f32x16

Source
#[repr(C, align(64))]
pub struct f32x16<S: Simd> { pub val: [f32; 16], pub simd: S, }

Fields§

§val: [f32; 16]§simd: S

Implementations§

Source§

impl<S: Simd> f32x16<S>

Source

pub fn abs(self) -> f32x16<S>

Source

pub fn neg(self) -> f32x16<S>

Source

pub fn sqrt(self) -> f32x16<S>

Source

pub fn add(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn sub(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn mul(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn div(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn copysign(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source

pub fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source

pub fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source

pub fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source

pub fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source

pub fn max(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn max_precise(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn min(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn min_precise(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source

pub fn floor(self) -> f32x16<S>

Source

pub fn fract(self) -> f32x16<S>

Source

pub fn trunc(self) -> f32x16<S>

Source

pub fn reinterpret_f64(self) -> f64x8<S>

Source

pub fn reinterpret_i32(self) -> i32x16<S>

Source

pub fn reinterpret_u8(self) -> u8x64<S>

Source

pub fn reinterpret_u32(self) -> u32x16<S>

Source

pub fn cvt_u32(self) -> u32x16<S>

Source

pub fn cvt_i32(self) -> i32x16<S>

Trait Implementations§

Source§

impl<S: Simd> Add<f32> for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> Add<f32x16<S>> for f32

Source§

type Output = f32x16<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32x16<S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> Add for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> Bytes for f32x16<S>

Source§

type Bytes = u8x64<S>

Source§

fn to_bytes(self) -> Self::Bytes

Source§

fn from_bytes(value: Self::Bytes) -> Self

Source§

fn bitcast<U: Bytes<Bytes = Self::Bytes>>(self) -> U

Source§

impl<S: Clone + Simd> Clone for f32x16<S>

Source§

fn clone(&self) -> f32x16<S>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<S: Debug + Simd> Debug for f32x16<S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<S: Simd> Deref for f32x16<S>

Source§

type Target = [f32; 16]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<S: Simd> DerefMut for f32x16<S>

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl<S: Simd> Div<f32> for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> Self::Output

Performs the / operation. Read more
Source§

impl<S: Simd> Div<f32x16<S>> for f32

Source§

type Output = f32x16<S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32x16<S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<S: Simd> Div for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl<S: Simd> From<f32x16<S>> for [f32; 16]

Source§

fn from(value: f32x16<S>) -> Self

Converts to this type from the input type.
Source§

impl<S: Simd> Mul<f32> for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Mul<f32x16<S>> for f32

Source§

type Output = f32x16<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32x16<S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Mul for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Neg for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<S: Simd> Select<f32x16<S>> for mask32x16<S>

Source§

fn select(self, if_true: f32x16<S>, if_false: f32x16<S>) -> f32x16<S>

Source§

impl<S: Simd> SimdBase<f32, S> for f32x16<S>

Source§

const N: usize = 16usize

Source§

type Mask = mask32x16<S>

A SIMD vector mask with the same number of elements. Read more
Source§

type Block = f32x4<S>

A 128 bit SIMD vector of the same scalar type.
Source§

fn as_slice(&self) -> &[f32]

Source§

fn as_mut_slice(&mut self) -> &mut [f32]

Source§

fn from_slice(simd: S, slice: &[f32]) -> Self

Create a SIMD vector from a slice. Read more
Source§

fn splat(simd: S, val: f32) -> Self

Source§

fn block_splat(block: Self::Block) -> Self

Source§

impl<S: Simd> SimdCvtFloat<i32x16<S>> for f32x16<S>

Source§

fn float_from(x: i32x16<S>) -> Self

Source§

impl<S: Simd> SimdCvtFloat<u32x16<S>> for f32x16<S>

Source§

fn float_from(x: u32x16<S>) -> Self

Source§

impl<S: Simd> SimdCvtTruncate<f32x16<S>> for i32x16<S>

Source§

fn truncate_from(x: f32x16<S>) -> Self

Source§

impl<S: Simd> SimdCvtTruncate<f32x16<S>> for u32x16<S>

Source§

fn truncate_from(x: f32x16<S>) -> Self

Source§

impl<S: Simd> SimdFloat<f32, S> for f32x16<S>

Source§

fn abs(self) -> f32x16<S>

Source§

fn sqrt(self) -> f32x16<S>

Source§

fn copysign(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source§

fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source§

fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source§

fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source§

fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask32x16<S>

Source§

fn zip_low(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn zip_high(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn unzip_low(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn unzip_high(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn max(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn max_precise(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn min(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn min_precise(self, rhs: impl SimdInto<Self, S>) -> f32x16<S>

Source§

fn madd( self, op1: impl SimdInto<Self, S>, op2: impl SimdInto<Self, S>, ) -> f32x16<S>

Source§

fn msub( self, op1: impl SimdInto<Self, S>, op2: impl SimdInto<Self, S>, ) -> f32x16<S>

Source§

fn floor(self) -> f32x16<S>

Source§

fn fract(self) -> f32x16<S>

Source§

fn trunc(self) -> f32x16<S>

Source§

fn to_int<T: SimdCvtTruncate<Self>>(self) -> T

Source§

impl<S: Simd> SimdFrom<[f32; 16], S> for f32x16<S>

Source§

fn simd_from(val: [f32; 16], simd: S) -> Self

Source§

impl<S: Simd> SimdFrom<f32, S> for f32x16<S>

Source§

fn simd_from(value: f32, simd: S) -> Self

Source§

impl<S: Simd> Sub<f32> for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Simd> Sub<f32x16<S>> for f32

Source§

type Output = f32x16<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32x16<S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Simd> Sub for f32x16<S>

Source§

type Output = f32x16<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Copy + Simd> Copy for f32x16<S>

Auto Trait Implementations§

§

impl<S> Freeze for f32x16<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for f32x16<S>
where S: RefUnwindSafe,

§

impl<S> Send for f32x16<S>

§

impl<S> Sync for f32x16<S>

§

impl<S> Unpin for f32x16<S>
where S: Unpin,

§

impl<S> UnwindSafe for f32x16<S>
where S: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(value: T, _simd: S) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.