Struct vector_double
#[repr(simd)]
pub struct vector_double(pub(in ::core_arch::s390x::vector) [f64; 2]);
s390x-specific 128-bit wide vector of two packed f64
Fields
0: [f64; 2]
Implementations
impl vector_double
fn splat(value: f64) -> vector_doublePut the same value in every lane.
const fn as_array(&self) -> &[f64; 2]Returns an array reference containing the entire SIMD vector.
fn as_mut_array(&mut self) -> &mut [f64; 2]Returns a mutable array reference containing the entire SIMD vector.
Trait Implementations
impl Clone for vector_double
fn clone(&self) -> vector_double
impl Copy for vector_double
impl Debug for vector_double
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl From<Simd<f64, 2>> for vector_double
fn from(simd: Simd<f64, 2>) -> Self
impl TrivialClone for vector_double
impl VectorAbs for vector_double
unsafe fn vec_abs(self) -> Self
impl VectorAdd<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_add(self, other: vector_double) -> Self::Result
impl VectorAndc<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_andc(self, b: vector_double) -> Self::Result
impl VectorCeil for vector_double
unsafe fn vec_ceil(self) -> Self
impl VectorCompare for vector_double
unsafe fn vec_all_lt(self, other: Self) -> i32unsafe fn vec_all_le(self, other: Self) -> i32unsafe fn vec_all_gt(self, other: Self) -> i32unsafe fn vec_all_ge(self, other: Self) -> i32
impl VectorComparePredicate for vector_double
type Result = vector_bool_long_long;
impl VectorEquality for vector_double
type Result = vector_bool_long_long;
impl VectorEqv<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_eqv(self, b: vector_double) -> Self::Result
impl VectorExtract for vector_double
type ElementType = f64;unsafe fn vec_extract(a: Self, b: i32) -> Self::ElementType
impl VectorFloor for vector_double
unsafe fn vec_floor(self) -> Self
impl VectorFpTestDataClass for vector_double
type Result = vector_bool_long_long;unsafe fn vec_fp_test_data_class<const CLASS: u32>(self) -> (Self::Result, i32)
impl VectorGatherElement for vector_double
type Element = f64;type Offset = vector_unsigned_long_long;unsafe fn vec_gather_element<const D: u32>(self, b: Self::Offset, c: *const Self::Element) -> Self
impl VectorInsert for vector_double
type ElementType = f64;unsafe fn vec_insert(a: Self::ElementType, b: Self, c: i32) -> Self
impl VectorInsertAndZero for vector_double
type ElementType = f64;unsafe fn vec_insert_and_zero(a: *const Self::ElementType) -> Self
impl VectorLoad for vector_double
type ElementType = f64;unsafe fn vec_load_len(ptr: *const Self::ElementType, byte_count: u32) -> Selfunsafe fn vec_load_bndry<const BLOCK_BOUNDARY: u16>(ptr: *const Self::ElementType) -> MaybeUninit<Self>
impl VectorMadd for vector_double
unsafe fn vec_madd(self, b: Self, c: Self) -> Selfunsafe fn vec_msub(self, b: Self, c: Self) -> Self
impl VectorMax<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_max(self, b: vector_double) -> Self::Result
impl VectorMin<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_min(self, b: vector_double) -> Self::Result
impl VectorMul for vector_double
unsafe fn vec_mul(self, other: Self) -> Self
impl VectorNabs for vector_double
unsafe fn vec_nabs(self) -> Self
impl VectorNand<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_nand(self, b: vector_double) -> Self::Result
impl VectorNeg for vector_double
unsafe fn vec_neg(self) -> Self
impl VectorNmadd for vector_double
unsafe fn vec_nmadd(self, b: Self, c: Self) -> Self
impl VectorNmsub for vector_double
unsafe fn vec_nmsub(self, b: Self, c: Self) -> Self
impl VectorNor<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_nor(self, b: vector_double) -> Self::Result
impl VectorOrc<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_orc(self, b: vector_double) -> Self::Result
impl VectorPerm for vector_double
unsafe fn vec_perm(self, other: Self, c: vector_unsigned_char) -> Self
impl VectorPromote for vector_double
type ElementType = f64;unsafe fn vec_promote(a: Self::ElementType, c: i32) -> MaybeUninit<Self>
impl VectorRevb for vector_double
unsafe fn vec_revb(self) -> Self
impl VectorReve for vector_double
unsafe fn vec_reve(self) -> Self
impl VectorRint for vector_double
unsafe fn vec_rint(self) -> Self
impl VectorRound for vector_double
unsafe fn vec_round(self) -> Self
impl VectorRoundc for vector_double
unsafe fn vec_roundc(self) -> Self
impl VectorScatterElement for vector_double
type Element = f64;type Offset = vector_unsigned_long_long;unsafe fn vec_scatter_element<const D: u32>(self, b: Self::Offset, c: *mut Self::Element)
impl VectorSel<vector_bool_long_long> for vector_double
unsafe fn vec_sel(self, b: Self, c: vector_bool_long_long) -> Self
impl VectorSel<vector_unsigned_long_long> for vector_double
unsafe fn vec_sel(self, b: Self, c: vector_unsigned_long_long) -> Self
impl VectorSigned for vector_double
type Result = vector_signed_long_long;unsafe fn vec_signed(self) -> Self::Result
impl VectorSlb<vector_signed_long_long> for vector_double
type Result = vector_double;unsafe fn vec_slb(self, b: vector_signed_long_long) -> Self::Result
impl VectorSlb<vector_unsigned_long_long> for vector_double
type Result = vector_double;unsafe fn vec_slb(self, b: vector_unsigned_long_long) -> Self::Result
impl VectorSld for vector_double
unsafe fn vec_sld<const C: u32>(self, b: Self) -> Selfunsafe fn vec_sldw<const C: u32>(self, b: Self) -> Selfunsafe fn vec_sldb<const C: u32>(self, b: Self) -> Self
impl VectorSplat for vector_double
unsafe fn vec_splat<const IMM: u32>(self) -> Self
impl VectorSqrt for vector_double
unsafe fn vec_sqrt(self) -> Self
impl VectorSrab<vector_signed_long_long> for vector_double
type Result = vector_double;unsafe fn vec_srab(self, b: vector_signed_long_long) -> Self::Result
impl VectorSrab<vector_unsigned_long_long> for vector_double
type Result = vector_double;unsafe fn vec_srab(self, b: vector_unsigned_long_long) -> Self::Result
impl VectorSrb<vector_signed_long_long> for vector_double
type Result = vector_double;unsafe fn vec_srb(self, b: vector_signed_long_long) -> Self::Result
impl VectorSrb<vector_unsigned_long_long> for vector_double
type Result = vector_double;unsafe fn vec_srb(self, b: vector_unsigned_long_long) -> Self::Result
impl VectorSrdb for vector_double
unsafe fn vec_srdb<const C: u32>(self, b: Self) -> Self
impl VectorStore for vector_double
type ElementType = f64;unsafe fn vec_store_len(self, ptr: *mut Self::ElementType, byte_count: u32)
impl VectorSub<vector_double> for vector_double
type Result = vector_double;unsafe fn vec_sub(self, other: vector_double) -> Self::Result
impl VectorTestMask for vector_double
type Mask = vector_unsigned_long_long;unsafe fn vec_test_mask(self, other: Self::Mask) -> i32
impl VectorTrunc for vector_double
unsafe fn vec_trunc(self) -> Self
impl VectorUnsigned for vector_double
type Result = vector_unsigned_long_long;unsafe fn vec_unsigned(self) -> Self::Result
Auto Trait Implementations
impl Freeze for vector_double
impl RefUnwindSafe for vector_double
impl Send for vector_double
impl Sync for vector_double
impl Unpin for vector_double
impl UnsafeUnpin for vector_double
impl UnwindSafe for vector_double
Blanket Implementations
impl<T> Any for vector_double
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for vector_double
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for vector_double
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for vector_double
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for vector_double
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for vector_double
where
T: Copy + Debug,
impl<T> SizeHint for vector_double
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for vector_double
impl<T, U> Into<U> for vector_double
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for vector_double
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for vector_double
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>