Struct vector_float

#[repr(simd)]
pub struct vector_float(pub(in ::core_arch::s390x::vector) [f32; 4]);

s390x-specific 128-bit wide vector of four packed f32

Fields

0: [f32; 4]

Implementations

impl vector_float

fn splat(value: f32) -> vector_float

Put the same value in every lane.

const fn as_array(&self) -> &[f32; 4]

Returns an array reference containing the entire SIMD vector.

fn as_mut_array(&mut self) -> &mut [f32; 4]

Returns a mutable array reference containing the entire SIMD vector.

Trait Implementations

impl Clone for vector_float

fn clone(&self) -> vector_float

impl Copy for vector_float

impl Debug for vector_float

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

impl From<Simd<f32, 4>> for vector_float

fn from(simd: Simd<f32, 4>) -> Self

impl TrivialClone for vector_float

impl VectorAbs for vector_float

unsafe fn vec_abs(self) -> Self

impl VectorAdd<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_add(self, other: Self) -> Self::Result

impl VectorAndc<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_andc(self, b: vector_float) -> Self::Result

impl VectorCeil for vector_float

unsafe fn vec_ceil(self) -> Self

impl VectorCompare for vector_float

unsafe fn vec_all_lt(self, other: Self) -> i32
unsafe fn vec_all_le(self, other: Self) -> i32
unsafe fn vec_all_gt(self, other: Self) -> i32
unsafe fn vec_all_ge(self, other: Self) -> i32

impl VectorComparePredicate for vector_float

type Result = vector_bool_int;

impl VectorEquality for vector_float

type Result = vector_bool_int;

impl VectorEqv<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_eqv(self, b: vector_float) -> Self::Result

impl VectorExtract for vector_float

type ElementType = f32;
unsafe fn vec_extract(a: Self, b: i32) -> Self::ElementType

impl VectorFloor for vector_float

unsafe fn vec_floor(self) -> Self

impl VectorFpTestDataClass for vector_float

type Result = vector_bool_int;
unsafe fn vec_fp_test_data_class<const CLASS: u32>(self) -> (Self::Result, i32)

impl VectorGatherElement for vector_float

type Element = f32;
type Offset = vector_unsigned_int;
unsafe fn vec_gather_element<const D: u32>(self, b: Self::Offset, c: *const Self::Element) -> Self

impl VectorInsert for vector_float

type ElementType = f32;
unsafe fn vec_insert(a: Self::ElementType, b: Self, c: i32) -> Self

impl VectorInsertAndZero for vector_float

type ElementType = f32;
unsafe fn vec_insert_and_zero(a: *const Self::ElementType) -> Self

impl VectorLoad for vector_float

type ElementType = f32;
unsafe fn vec_load_len(ptr: *const Self::ElementType, byte_count: u32) -> Self
unsafe fn vec_load_bndry<const BLOCK_BOUNDARY: u16>(ptr: *const Self::ElementType) -> MaybeUninit<Self>

impl VectorMadd for vector_float

unsafe fn vec_madd(self, b: Self, c: Self) -> Self
unsafe fn vec_msub(self, b: Self, c: Self) -> Self

impl VectorMax<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_max(self, b: vector_float) -> Self::Result

impl VectorMin<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_min(self, b: vector_float) -> Self::Result

impl VectorMul for vector_float

unsafe fn vec_mul(self, other: Self) -> Self

impl VectorNabs for vector_float

unsafe fn vec_nabs(self) -> Self

impl VectorNand<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_nand(self, b: vector_float) -> Self::Result

impl VectorNeg for vector_float

unsafe fn vec_neg(self) -> Self

impl VectorNmadd for vector_float

unsafe fn vec_nmadd(self, b: Self, c: Self) -> Self

impl VectorNmsub for vector_float

unsafe fn vec_nmsub(self, b: Self, c: Self) -> Self

impl VectorNor<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_nor(self, b: vector_float) -> Self::Result

impl VectorOrc<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_orc(self, b: vector_float) -> Self::Result

impl VectorPerm for vector_float

unsafe fn vec_perm(self, other: Self, c: vector_unsigned_char) -> Self

impl VectorPromote for vector_float

type ElementType = f32;
unsafe fn vec_promote(a: Self::ElementType, c: i32) -> MaybeUninit<Self>

impl VectorRevb for vector_float

unsafe fn vec_revb(self) -> Self

impl VectorReve for vector_float

unsafe fn vec_reve(self) -> Self

impl VectorRint for vector_float

unsafe fn vec_rint(self) -> Self

impl VectorRound for vector_float

unsafe fn vec_round(self) -> Self

impl VectorRoundc for vector_float

unsafe fn vec_roundc(self) -> Self

impl VectorScatterElement for vector_float

type Element = f32;
type Offset = vector_unsigned_int;
unsafe fn vec_scatter_element<const D: u32>(self, b: Self::Offset, c: *mut Self::Element)

impl VectorSel<vector_bool_int> for vector_float

unsafe fn vec_sel(self, b: Self, c: vector_bool_int) -> Self

impl VectorSel<vector_unsigned_int> for vector_float

unsafe fn vec_sel(self, b: Self, c: vector_unsigned_int) -> Self

impl VectorSigned for vector_float

type Result = vector_signed_int;
unsafe fn vec_signed(self) -> Self::Result

impl VectorSlb<vector_signed_int> for vector_float

type Result = vector_float;
unsafe fn vec_slb(self, b: vector_signed_int) -> Self::Result

impl VectorSlb<vector_unsigned_int> for vector_float

type Result = vector_float;
unsafe fn vec_slb(self, b: vector_unsigned_int) -> Self::Result

impl VectorSld for vector_float

unsafe fn vec_sld<const C: u32>(self, b: Self) -> Self
unsafe fn vec_sldw<const C: u32>(self, b: Self) -> Self
unsafe fn vec_sldb<const C: u32>(self, b: Self) -> Self

impl VectorSplat for vector_float

unsafe fn vec_splat<const IMM: u32>(self) -> Self

impl VectorSqrt for vector_float

unsafe fn vec_sqrt(self) -> Self

impl VectorSrab<vector_signed_int> for vector_float

type Result = vector_float;
unsafe fn vec_srab(self, b: vector_signed_int) -> Self::Result

impl VectorSrab<vector_unsigned_int> for vector_float

type Result = vector_float;
unsafe fn vec_srab(self, b: vector_unsigned_int) -> Self::Result

impl VectorSrb<vector_signed_int> for vector_float

type Result = vector_float;
unsafe fn vec_srb(self, b: vector_signed_int) -> Self::Result

impl VectorSrb<vector_unsigned_int> for vector_float

type Result = vector_float;
unsafe fn vec_srb(self, b: vector_unsigned_int) -> Self::Result

impl VectorSrdb for vector_float

unsafe fn vec_srdb<const C: u32>(self, b: Self) -> Self

impl VectorStore for vector_float

type ElementType = f32;
unsafe fn vec_store_len(self, ptr: *mut Self::ElementType, byte_count: u32)

impl VectorSub<vector_float> for vector_float

type Result = vector_float;
unsafe fn vec_sub(self, other: Self) -> Self::Result

impl VectorTrunc for vector_float

unsafe fn vec_trunc(self) -> Self

impl VectorUnsigned for vector_float

type Result = vector_unsigned_int;
unsafe fn vec_unsigned(self) -> Self::Result

Auto Trait Implementations

impl Freeze for vector_float

impl RefUnwindSafe for vector_float

impl Send for vector_float

impl Sync for vector_float

impl Unpin for vector_float

impl UnsafeUnpin for vector_float

impl UnwindSafe for vector_float

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for vector_float

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Printable for vector_float where T: Copy + Debug,

impl<T> SizeHint for vector_float where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for vector_float

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

fn into(self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom<U> for vector_float 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_float where U: TryFrom<T>,

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