#[repr(simd)]pub struct HvxVectorPair([i32; 32]);🔬This is a nightly-only experimental API. (
stdarch_hexagon #151523)Available on
target_arch=hexagon only.Expand description
HVX vector pair type (1024 bits / 128 bytes)
This type represents a pair of HVX vector registers, often used for operations that produce double-width results.
Tuple Fields§
§0: [i32; 32]🔬This is a nightly-only experimental API. (
stdarch_hexagon #151523)Implementations§
Source§impl HvxVectorPair
impl HvxVectorPair
Sourcefn splat(value: i32) -> HvxVectorPair
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
fn splat(value: i32) -> HvxVectorPair
stdarch_hexagon #151523)Put the same value in every lane.
Sourceconst fn as_array(&self) -> &[i32; 32]
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
const fn as_array(&self) -> &[i32; 32]
stdarch_hexagon #151523)Returns an array reference containing the entire SIMD vector.
Sourcefn as_mut_array(&mut self) -> &mut [i32; 32]
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
fn as_mut_array(&mut self) -> &mut [i32; 32]
stdarch_hexagon #151523)Returns a mutable array reference containing the entire SIMD vector.
Trait Implementations§
Source§impl Clone for HvxVectorPair
impl Clone for HvxVectorPair
Source§fn clone(&self) -> HvxVectorPair
fn clone(&self) -> HvxVectorPair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)where
Self:,
fn clone_from(&mut self, source: &Self)where
Self:,
Performs copy-assignment from
source. Read moreSource§impl Debug for HvxVectorPair
impl Debug for HvxVectorPair
Source§impl From<HvxVectorPair> for Simd<i32, 32>
impl From<HvxVectorPair> for Simd<i32, 32>
Source§fn from(simd: HvxVectorPair) -> Self
fn from(simd: HvxVectorPair) -> Self
Converts to this type from the input type.
impl Copy for HvxVectorPair
impl TrivialClone for HvxVectorPair
Auto Trait Implementations§
impl Freeze for HvxVectorPair
impl RefUnwindSafe for HvxVectorPair
impl Send for HvxVectorPair
impl Sync for HvxVectorPair
impl Unpin for HvxVectorPair
impl UnsafeUnpin for HvxVectorPair
impl UnwindSafe for HvxVectorPair
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)]const SIZE: usize = _
#[doc(hidden)]const SIZE: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize = _
#[doc(hidden)]const ALIGN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment = _
#[doc(hidden)]const ALIGNMENT: Alignment = _
🔬This is a nightly-only experimental API. (
ptr_alignment_type #102070)Source§#[doc(hidden)]const IS_ZST: bool = _
#[doc(hidden)]const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const LAYOUT: Layout = _
#[doc(hidden)]const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const MAX_SLICE_LEN: usize = _
#[doc(hidden)]const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)The largest safe length for a
[Self]. Read more