Struct vector_unsigned_short

#[repr(simd)]
pub struct vector_unsigned_short(pub(in ::core_arch::s390x::vector) [u16; 8]);

s390x-specific 128-bit wide vector of eight packed u16

Fields

0: [u16; 8]

Implementations

impl vector_unsigned_short

fn splat(value: u16) -> vector_unsigned_short

Put the same value in every lane.

const fn as_array(&self) -> &[u16; 8]

Returns an array reference containing the entire SIMD vector.

fn as_mut_array(&mut self) -> &mut [u16; 8]

Returns a mutable array reference containing the entire SIMD vector.

Trait Implementations

impl Clone for vector_unsigned_short

fn clone(&self) -> vector_unsigned_short

impl Copy for vector_unsigned_short

impl CountBits for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_cntlz(self) -> Self::Result
unsafe fn vec_cnttz(self) -> Self::Result
unsafe fn vec_popcnt(self) -> Self::Result

impl Debug for vector_unsigned_short

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

impl From<Simd<u16, 8>> for vector_unsigned_short

fn from(simd: Simd<u16, 8>) -> Self

impl TrivialClone for vector_unsigned_short

impl VectorAdd<vector_bool_short> for vector_unsigned_short

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

impl VectorAdd<vector_unsigned_short> for vector_unsigned_short

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

impl VectorAnd<vector_bool_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_and(self, b: vector_bool_short) -> Self::Result

impl VectorAnd<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_and(self, b: vector_unsigned_short) -> Self::Result

impl VectorAndc<vector_unsigned_short> for vector_unsigned_short

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

impl VectorAvg<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_avg(self, b: vector_unsigned_short) -> Self::Result

impl VectorCompare for vector_unsigned_short

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_unsigned_short

type Result = vector_bool_short;

impl VectorCompareRange for vector_unsigned_short

type Result = vector_bool_short;
unsafe fn vstrc<const IMM: u32>(self, b: Self, c: Self) -> Self::Result
unsafe fn vstrcz<const IMM: u32>(self, b: Self, c: Self) -> Self::Result
unsafe fn vstrcs<const IMM: u32>(self, b: Self, c: Self) -> (Self::Result, i32)
unsafe fn vstrczs<const IMM: u32>(self, b: Self, c: Self) -> (Self::Result, i32)

impl VectorCopyUntilZero for vector_unsigned_short

unsafe fn vec_cp_until_zero(self) -> Self

impl VectorCopyUntilZeroCC for vector_unsigned_short

unsafe fn vec_cp_until_zero_cc(self) -> (Self, i32)

impl VectorEquality for vector_unsigned_short

type Result = vector_bool_short;

impl VectorEqualityIdx for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_cmpeq_idx(self, other: Self) -> Self::Result
unsafe fn vec_cmpne_idx(self, other: Self) -> Self::Result
unsafe fn vec_cmpeq_or_0_idx(self, other: Self) -> Self::Result
unsafe fn vec_cmpne_or_0_idx(self, other: Self) -> Self::Result
unsafe fn vec_cmpeq_idx_cc(self, other: Self) -> (Self::Result, i32)
unsafe fn vec_cmpne_idx_cc(self, other: Self) -> (Self::Result, i32)
unsafe fn vec_cmpeq_or_0_idx_cc(self, other: Self) -> (Self::Result, i32)
unsafe fn vec_cmpne_or_0_idx_cc(self, other: Self) -> (Self::Result, i32)

impl VectorEqv<vector_unsigned_short> for vector_unsigned_short

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

impl VectorExtract for vector_unsigned_short

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

impl VectorFindAnyEq<vector_unsigned_short> for vector_unsigned_short

type Result = vector_bool_short;
unsafe fn vec_find_any_eq(self, b: Self) -> Self::Result

impl VectorFindAnyEqCC<vector_unsigned_short> for vector_unsigned_short

type Result = vector_bool_short;
unsafe fn vec_find_any_eq_cc(self, b: Self) -> (Self::Result, i32)

impl VectorFindAnyEqIdx<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_find_any_eq_idx(self, b: Self) -> Self::Result

impl VectorFindAnyEqIdxCC<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_find_any_eq_idx_cc(self, b: Self) -> (Self::Result, i32)

impl VectorFindAnyEqOrZeroIdx<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_find_any_eq_or_0_idx(self, b: Self) -> Self::Result

impl VectorFindAnyEqOrZeroIdxCC<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_find_any_eq_or_0_idx_cc(self, b: Self) -> (Self::Result, i32)

impl VectorFindAnyNe<vector_unsigned_short> for vector_unsigned_short

type Result = vector_bool_short;
unsafe fn vec_find_any_ne(self, b: Self) -> Self::Result

impl VectorFindAnyNeCC<vector_unsigned_short> for vector_unsigned_short

type Result = vector_bool_short;
unsafe fn vec_find_any_ne_cc(self, b: Self) -> (Self::Result, i32)

impl VectorFindAnyNeIdx<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_find_any_ne_idx(self, b: Self) -> Self::Result

impl VectorFindAnyNeIdxCC<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_find_any_ne_idx_cc(self, b: Self) -> (Self::Result, i32)

impl VectorFindAnyNeOrZeroIdx<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_find_any_ne_or_0_idx(self, b: Self) -> Self::Result

impl VectorFindAnyNeOrZeroIdxCC<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_find_any_ne_or_0_idx_cc(self, b: Self) -> (Self::Result, i32)

impl VectorGfmsum<vector_unsigned_int> for vector_unsigned_short

unsafe fn vec_gfmsum(self, b: vector_unsigned_short) -> vector_unsigned_int

impl VectorGfmsumAccum for vector_unsigned_short

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

impl VectorInsert for vector_unsigned_short

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

impl VectorInsertAndZero for vector_unsigned_short

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

impl VectorLoad for vector_unsigned_short

type ElementType = u16;
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 VectorMax<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_max(self, other: Self) -> Self

impl VectorMeadd for vector_unsigned_short

type Result = vector_unsigned_int;
unsafe fn vec_meadd(self, b: vector_unsigned_short, c: vector_unsigned_int) -> vector_unsigned_int

impl VectorMergeh for vector_unsigned_short

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

impl VectorMergel for vector_unsigned_short

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

impl VectorMhadd for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_mhadd(self, b: vector_unsigned_short, c: vector_unsigned_short) -> vector_unsigned_short

impl VectorMin<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_min(self, other: Self) -> Self

impl VectorMladd for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_mladd(self, b: vector_unsigned_short, c: vector_unsigned_short) -> vector_unsigned_short

impl VectorMoadd for vector_unsigned_short

type Result = vector_unsigned_int;
unsafe fn vec_moadd(self, b: vector_unsigned_short, c: vector_unsigned_int) -> vector_unsigned_int

impl VectorMul for vector_unsigned_short

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

impl VectorMule<vector_unsigned_int> for vector_unsigned_short

unsafe fn vec_mule(self, b: vector_unsigned_short) -> vector_unsigned_int

impl VectorMulh<vector_unsigned_short> for vector_unsigned_short

unsafe fn vec_mulh(self, b: vector_unsigned_short) -> vector_unsigned_short

impl VectorMulo<vector_unsigned_int> for vector_unsigned_short

unsafe fn vec_mulo(self, b: vector_unsigned_short) -> vector_unsigned_int

impl VectorNand<vector_unsigned_short> for vector_unsigned_short

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

impl VectorNeg for vector_unsigned_short

unsafe fn vec_neg(self) -> Self

impl VectorNor<vector_unsigned_short> for vector_unsigned_short

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

impl VectorOr<vector_bool_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_or(self, b: vector_bool_short) -> Self::Result

impl VectorOr<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_or(self, b: vector_unsigned_short) -> Self::Result

impl VectorOrc<vector_unsigned_short> for vector_unsigned_short

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

impl VectorPack<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_char;
unsafe fn vec_pack(self, b: vector_unsigned_short) -> Self::Result

impl VectorPacks<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_char;
unsafe fn vec_packs(self, b: vector_unsigned_short) -> Self::Result

impl VectorPacksCC for vector_unsigned_short

type Result = vector_unsigned_char;
unsafe fn vec_packs_cc(self, b: Self) -> (Self::Result, i32)

impl VectorPacksu<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_char;
unsafe fn vec_packsu(self, b: vector_unsigned_short) -> Self::Result

impl VectorPacksuCC for vector_unsigned_short

type Result = vector_unsigned_char;
unsafe fn vec_packsu_cc(self, b: Self) -> (Self::Result, i32)

impl VectorPerm for vector_unsigned_short

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

impl VectorPromote for vector_unsigned_short

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

impl VectorRevb for vector_unsigned_short

unsafe fn vec_revb(self) -> Self

impl VectorReve for vector_unsigned_short

unsafe fn vec_reve(self) -> Self

impl VectorRl<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_rl(self, b: vector_unsigned_short) -> Self::Result

impl VectorRlMask<vector_unsigned_short> for vector_unsigned_short

unsafe fn vec_rl_mask<const IMM8: u8>(self, other: vector_unsigned_short) -> Self

impl VectorRli for vector_unsigned_short

unsafe fn vec_rli(self, bits: c_ulong) -> Self

impl VectorSearchString for vector_unsigned_short

unsafe fn vec_search_string_cc(self, b: Self, c: vector_unsigned_char) -> (vector_unsigned_char, i32)
unsafe fn vec_search_string_until_zero_cc(self, b: Self, c: vector_unsigned_char) -> (vector_unsigned_char, i32)

impl VectorSel<vector_bool_short> for vector_unsigned_short

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

impl VectorSel<vector_unsigned_short> for vector_unsigned_short

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

impl VectorSl<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_sl(self, b: vector_unsigned_short) -> Self::Result

impl VectorSlb<vector_signed_short> for vector_unsigned_short

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

impl VectorSlb<vector_unsigned_short> for vector_unsigned_short

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

impl VectorSld for vector_unsigned_short

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 VectorSll<vector_unsigned_char> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_sll(self, b: vector_unsigned_char) -> Self::Result

impl VectorSplat for vector_unsigned_short

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

impl VectorSr<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_sr(self, b: vector_unsigned_short) -> Self::Result

impl VectorSra<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_sra(self, b: vector_unsigned_short) -> Self::Result

impl VectorSrab<vector_signed_short> for vector_unsigned_short

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

impl VectorSrab<vector_unsigned_short> for vector_unsigned_short

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

impl VectorSral<vector_unsigned_char> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_sral(self, b: vector_unsigned_char) -> Self::Result

impl VectorSrb<vector_signed_short> for vector_unsigned_short

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

impl VectorSrb<vector_unsigned_short> for vector_unsigned_short

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

impl VectorSrdb for vector_unsigned_short

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

impl VectorSrl<vector_unsigned_char> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_srl(self, b: vector_unsigned_char) -> Self::Result

impl VectorStore for vector_unsigned_short

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

impl VectorSub<vector_bool_short> for vector_unsigned_short

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

impl VectorSub<vector_unsigned_short> for vector_unsigned_short

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

impl VectorSubc<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_subc(self, b: vector_unsigned_short) -> Self::Result

impl VectorSum2 for vector_unsigned_short

unsafe fn vec_sum2(self, other: Self) -> vector_unsigned_long_long

impl VectorSum4 for vector_unsigned_short

unsafe fn vec_sum4(self, other: Self) -> vector_unsigned_int

impl VectorTestMask for vector_unsigned_short

type Mask = vector_unsigned_short;
unsafe fn vec_test_mask(self, other: Self::Mask) -> i32

impl VectorUnpackh for vector_unsigned_short

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

impl VectorUnpackl for vector_unsigned_short

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

impl VectorXor<vector_bool_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_xor(self, b: vector_bool_short) -> Self::Result

impl VectorXor<vector_unsigned_short> for vector_unsigned_short

type Result = vector_unsigned_short;
unsafe fn vec_xor(self, b: vector_unsigned_short) -> Self::Result

Auto Trait Implementations

impl Freeze for vector_unsigned_short

impl RefUnwindSafe for vector_unsigned_short

impl Send for vector_unsigned_short

impl Sync for vector_unsigned_short

impl Unpin for vector_unsigned_short

impl UnsafeUnpin for vector_unsigned_short

impl UnwindSafe for vector_unsigned_short

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for vector_unsigned_short

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

impl<T> SizedTypeProperties for vector_unsigned_short

impl<T, U> Into<U> for vector_unsigned_short 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_unsigned_short where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for vector_unsigned_short where U: TryFrom<T>,

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