#[repr(C, align(16))]pub struct f32x4<S: Simd> {
pub val: [f32; 4],
pub simd: S,
}
Fields§
§val: [f32; 4]
§simd: S
Implementations§
Source§impl<S: Simd> f32x4<S>
impl<S: Simd> f32x4<S>
pub fn abs(self) -> f32x4<S>
pub fn neg(self) -> f32x4<S>
pub fn sqrt(self) -> f32x4<S>
pub fn add(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn sub(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn mul(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn div(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn copysign(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn max(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn max_precise(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn min(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn min_precise(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
pub fn floor(self) -> f32x4<S>
pub fn fract(self) -> f32x4<S>
pub fn trunc(self) -> f32x4<S>
pub fn combine(self, rhs: impl SimdInto<Self, S>) -> f32x8<S>
pub fn reinterpret_f64(self) -> f64x2<S>
pub fn reinterpret_i32(self) -> i32x4<S>
pub fn reinterpret_u8(self) -> u8x16<S>
pub fn reinterpret_u32(self) -> u32x4<S>
pub fn cvt_u32(self) -> u32x4<S>
pub fn cvt_i32(self) -> i32x4<S>
Trait Implementations§
Source§impl<S: Simd> SimdBase<f32, S> for f32x4<S>
impl<S: Simd> SimdBase<f32, S> for f32x4<S>
Source§impl<S: Simd> SimdCvtFloat<i32x4<S>> for f32x4<S>
impl<S: Simd> SimdCvtFloat<i32x4<S>> for f32x4<S>
fn float_from(x: i32x4<S>) -> Self
Source§impl<S: Simd> SimdCvtFloat<u32x4<S>> for f32x4<S>
impl<S: Simd> SimdCvtFloat<u32x4<S>> for f32x4<S>
fn float_from(x: u32x4<S>) -> Self
Source§impl<S: Simd> SimdCvtTruncate<f32x4<S>> for i32x4<S>
impl<S: Simd> SimdCvtTruncate<f32x4<S>> for i32x4<S>
fn truncate_from(x: f32x4<S>) -> Self
Source§impl<S: Simd> SimdCvtTruncate<f32x4<S>> for u32x4<S>
impl<S: Simd> SimdCvtTruncate<f32x4<S>> for u32x4<S>
fn truncate_from(x: f32x4<S>) -> Self
Source§impl<S: Simd> SimdFloat<f32, S> for f32x4<S>
impl<S: Simd> SimdFloat<f32, S> for f32x4<S>
fn abs(self) -> f32x4<S>
fn sqrt(self) -> f32x4<S>
fn copysign(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn zip_low(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn zip_high(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn unzip_low(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn unzip_high(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn max(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn max_precise(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn min(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn min_precise(self, rhs: impl SimdInto<Self, S>) -> f32x4<S>
fn madd( self, op1: impl SimdInto<Self, S>, op2: impl SimdInto<Self, S>, ) -> f32x4<S>
fn msub( self, op1: impl SimdInto<Self, S>, op2: impl SimdInto<Self, S>, ) -> f32x4<S>
fn floor(self) -> f32x4<S>
fn fract(self) -> f32x4<S>
fn trunc(self) -> f32x4<S>
fn to_int<T: SimdCvtTruncate<Self>>(self) -> T
impl<S: Copy + Simd> Copy for f32x4<S>
Auto Trait Implementations§
impl<S> Freeze for f32x4<S>where
S: Freeze,
impl<S> RefUnwindSafe for f32x4<S>where
S: RefUnwindSafe,
impl<S> Send for f32x4<S>
impl<S> Sync for f32x4<S>
impl<S> Unpin for f32x4<S>where
S: Unpin,
impl<S> UnwindSafe for f32x4<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more