Struct ppv_lite86::soft::x4

source ·
pub struct x4<W>(pub [W; 4]);

Tuple Fields§

§0: [W; 4]

Implementations§

source§

impl<W> x4<W>

source

pub fn new(xs: [W; 4]) -> Self

Trait Implementations§

source§

impl<W: Add + Copy> Add<x4<W>> for x4<W>

§

type Output = x4<<W as Add<W>>::Output>

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl<W: AddAssign + Copy> AddAssign<x4<W>> for x4<W>

source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
source§

impl<W: AndNot + Copy> AndNot for x4<W>

§

type Output = x4<<W as AndNot>::Output>

source§

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

source§

impl<W: BSwap + Copy> BSwap for x4<W>

source§

fn bswap(self) -> Self

source§

impl<W: BitAnd + Copy> BitAnd<x4<W>> for x4<W>

§

type Output = x4<<W as BitAnd<W>>::Output>

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

impl<W: BitAndAssign + Copy> BitAndAssign<x4<W>> for x4<W>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl<W: BitOr + Copy> BitOr<x4<W>> for x4<W>

§

type Output = x4<<W as BitOr<W>>::Output>

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

impl<W: BitOrAssign + Copy> BitOrAssign<x4<W>> for x4<W>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl<W: BitXor + Copy> BitXor<x4<W>> for x4<W>

§

type Output = x4<<W as BitXor<W>>::Output>

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

impl<W: BitXorAssign + Copy> BitXorAssign<x4<W>> for x4<W>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl<W: Clone> Clone for x4<W>

source§

fn clone(&self) -> x4<W>

Returns a copy 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<W: Default> Default for x4<W>

source§

fn default() -> x4<W>

Returns the “default value” for a type. Read more
source§

impl<W> From<x4<W>> for vec512_storagewhere W: Copy, vec128_storage: From<W>,

source§

fn from(x: x4<W>) -> Self

Converts to this type from the input type.
source§

impl<S3: Copy, S4: Copy, NI: Copy> From<x4<u128x1_sse2<S3, S4, NI>>> for x4<u32x4_sse2<S3, S4, NI>>

source§

fn from(x: x4<u128x1_sse2<S3, S4, NI>>) -> Self

Converts to this type from the input type.
source§

impl<S3: Copy, S4: Copy, NI: Copy> From<x4<u128x1_sse2<S3, S4, NI>>> for x4<u64x2_sse2<S3, S4, NI>>

source§

fn from(x: x4<u128x1_sse2<S3, S4, NI>>) -> Self

Converts to this type from the input type.
source§

impl<NI: Copy> From<x4<u128x1_sse2<YesS3, YesS4, NI>>> for x2<u32x4x2_avx2<NI>, G0>

source§

fn from(x: x4<u128x1_sse2<YesS3, YesS4, NI>>) -> Self

Converts to this type from the input type.
source§

impl<W: Copy + LaneWords4> LaneWords4 for x4<W>

source§

impl<W: Copy> MultiLane<[W; 4]> for x4<W>

source§

fn to_lanes(self) -> [W; 4]

Split a multi-lane vector into single-lane vectors.
source§

fn from_lanes(lanes: [W; 4]) -> Self

Build a multi-lane vector from individual lanes.
source§

impl<W: Not + Copy> Not for x4<W>

§

type Output = x4<<W as Not>::Output>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl<W> RotateEachWord32 for x4<W>where W: Copy + RotateEachWord32,

source§

impl<W> RotateEachWord64 for x4<W>where W: Copy + RotateEachWord64,

source§

impl<W: Copy + Store<vec128_storage>> Store<vec512_storage> for x4<W>

source§

unsafe fn unpack(p: vec512_storage) -> Self

Safety Read more
source§

impl<W: StoreBytes + BSwap + Copy> StoreBytes for x4<W>

source§

unsafe fn unsafe_read_le(input: &[u8]) -> Self

Safety Read more
source§

unsafe fn unsafe_read_be(input: &[u8]) -> Self

Safety Read more
source§

fn write_le(self, out: &mut [u8])

source§

fn write_be(self, out: &mut [u8])

source§

impl<W> Swap64 for x4<W>where W: Swap64 + Copy,

source§

fn swap1(self) -> Self

source§

fn swap2(self) -> Self

source§

fn swap4(self) -> Self

source§

fn swap8(self) -> Self

source§

fn swap16(self) -> Self

source§

fn swap32(self) -> Self

source§

fn swap64(self) -> Self

source§

impl<W> UnsafeFrom<[W; 4]> for x4<W>

source§

unsafe fn unsafe_from(xs: [W; 4]) -> Self

source§

impl<W: Copy> Vec4<W> for x4<W>

source§

fn extract(self, i: u32) -> W

source§

fn insert(self, w: W, i: u32) -> Self

source§

impl<W: Copy> Vec4Ext<W> for x4<W>

source§

fn transpose4(a: Self, b: Self, c: Self, d: Self) -> (Self, Self, Self, Self)where Self: Sized,

source§

impl<S3, S4, NI> Vector<[u32; 16]> for x4<u32x4_sse2<S3, S4, NI>>

source§

fn to_scalars(self) -> [u32; 16]

source§

impl<W> ArithOps for x4<W>where W: ArithOps,

source§

impl<W> BitOps0 for x4<W>where W: BitOps0,

source§

impl<W> BitOps128 for x4<W>where W: BitOps128 + BitOps0,

source§

impl<W> BitOps32 for x4<W>where W: BitOps32 + BitOps0,

source§

impl<W> BitOps64 for x4<W>where W: BitOps64 + BitOps0,

source§

impl<W: Copy> Copy for x4<W>

source§

impl<W> RotateEachWord128 for x4<W>where W: RotateEachWord128,

source§

impl<NI: Copy> u128x4<Avx2Machine<NI>> for x4<u128x1_sse2<YesS3, YesS4, NI>>where u128x1_sse2<YesS3, YesS4, NI>: Swap64 + BSwap, Avx2Machine<NI>: Machine, x4<u128x1_sse2<YesS3, YesS4, NI>>: MultiLane<[<Avx2Machine<NI> as Machine>::u128x1; 4]> + Vec4<<Avx2Machine<NI> as Machine>::u128x1> + Into<<Avx2Machine<NI> as Machine>::u32x4x4> + Into<<Avx2Machine<NI> as Machine>::u64x2x4>,

source§

impl<S3: Copy, S4: Copy, NI: Copy> u128x4<SseMachine<S3, S4, NI>> for x4<u128x1_sse2<S3, S4, NI>>where u128x1_sse2<S3, S4, NI>: Swap64 + BSwap, SseMachine<S3, S4, NI>: Machine, x4<u128x1_sse2<S3, S4, NI>>: MultiLane<[<SseMachine<S3, S4, NI> as Machine>::u128x1; 4]> + Vec4<<SseMachine<S3, S4, NI> as Machine>::u128x1> + Into<<SseMachine<S3, S4, NI> as Machine>::u32x4x4> + Into<<SseMachine<S3, S4, NI> as Machine>::u64x2x4>,

source§

impl<S3: Copy, S4: Copy, NI: Copy> u32x4x4<SseMachine<S3, S4, NI>> for x4<u32x4_sse2<S3, S4, NI>>where u32x4_sse2<S3, S4, NI>: RotateEachWord32 + BSwap, SseMachine<S3, S4, NI>: Machine, x4<u32x4_sse2<S3, S4, NI>>: MultiLane<[<SseMachine<S3, S4, NI> as Machine>::u32x4; 4]> + Vec4<<SseMachine<S3, S4, NI> as Machine>::u32x4> + Vec4Ext<<SseMachine<S3, S4, NI> as Machine>::u32x4> + Vector<[u32; 16]>,

source§

impl<NI: Copy> u64x2x4<Avx2Machine<NI>> for x4<u64x2_sse2<YesS3, YesS4, NI>>where u64x2_sse2<YesS3, YesS4, NI>: RotateEachWord64 + RotateEachWord32 + BSwap, Avx2Machine<NI>: Machine, x4<u64x2_sse2<YesS3, YesS4, NI>>: MultiLane<[<Avx2Machine<NI> as Machine>::u64x2; 4]> + Vec4<<Avx2Machine<NI> as Machine>::u64x2>,

source§

impl<S3: Copy, S4: Copy, NI: Copy> u64x2x4<SseMachine<S3, S4, NI>> for x4<u64x2_sse2<S3, S4, NI>>where u64x2_sse2<S3, S4, NI>: RotateEachWord64 + RotateEachWord32 + BSwap, SseMachine<S3, S4, NI>: Machine, x4<u64x2_sse2<S3, S4, NI>>: MultiLane<[<SseMachine<S3, S4, NI> as Machine>::u64x2; 4]> + Vec4<<SseMachine<S3, S4, NI> as Machine>::u64x2>,

Auto Trait Implementations§

§

impl<W> RefUnwindSafe for x4<W>where W: RefUnwindSafe,

§

impl<W> Send for x4<W>where W: Send,

§

impl<W> Sync for x4<W>where W: Sync,

§

impl<W> Unpin for x4<W>where W: Unpin,

§

impl<W> UnwindSafe for x4<W>where W: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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<T, U> TryFrom<U> for Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.
source§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

source§

fn vzip(self) -> V