pub type AutoBoolx32 = AutoSimd<[bool; 32]>;
Aliased Type§
struct AutoBoolx32(pub [bool; 32]);
Fields§
§0: [bool; 32]
Implementations
Source§impl AutoSimd<[bool; 32]>
impl AutoSimd<[bool; 32]>
pub fn new( _0: bool, _1: bool, _2: bool, _3: bool, _4: bool, _5: bool, _6: bool, _7: bool, _8: bool, _9: bool, _10: bool, _11: bool, _12: bool, _13: bool, _14: bool, _15: bool, _16: bool, _17: bool, _18: bool, _19: bool, _20: bool, _21: bool, _22: bool, _23: bool, _24: bool, _25: bool, _26: bool, _27: bool, _28: bool, _29: bool, _30: bool, _31: bool, ) -> Self
Trait Implementations
Source§impl SimdBool for AutoSimd<[bool; 32]>
impl SimdBool for AutoSimd<[bool; 32]>
Source§fn bitmask(self) -> u64
fn bitmask(self) -> u64
A bit mask representing the boolean state of each lanes of
self
. Read moreSource§fn if_else<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_value: impl FnOnce() -> Res,
) -> Res
fn if_else<Res: SimdValue<SimdBool = Self>>( self, if_value: impl FnOnce() -> Res, else_value: impl FnOnce() -> Res, ) -> Res
Source§fn if_else2<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res,
) -> Res
fn if_else2<Res: SimdValue<SimdBool = Self>>( self, if_value: impl FnOnce() -> Res, else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res), else_value: impl FnOnce() -> Res, ) -> Res
Merges the value of
if_value()
and else_if.1()
and else_value()
depending on the lanes of self
and else_if.0()
. Read moreSource§fn if_else3<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res,
) -> Res
fn if_else3<Res: SimdValue<SimdBool = Self>>( self, if_value: impl FnOnce() -> Res, else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res), else_else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res), else_value: impl FnOnce() -> Res, ) -> Res
Merges the value of
if_value()
and else_if.1()
and else_else_if.1()
and else_value()
depending on the lanes of self
and else_if.0()
and else_else_if.0()
. Read moreSource§impl SimdValue for AutoSimd<[bool; 32]>
impl SimdValue for AutoSimd<[bool; 32]>
Source§type SimdBool = AutoSimd<[bool; 32]>
type SimdBool = AutoSimd<[bool; 32]>
Type of the result of comparing two SIMD values like
self
.Source§unsafe fn extract_unchecked(&self, i: usize) -> Self::Element
unsafe fn extract_unchecked(&self, i: usize) -> Self::Element
Extracts the i-th lane of
self
without bound-checking.Source§unsafe fn replace_unchecked(&mut self, i: usize, val: Self::Element)
unsafe fn replace_unchecked(&mut self, i: usize, val: Self::Element)
Replaces the i-th lane of
self
by val
without bound-checking.