Struct Sse

Source
pub struct Sse {
    _private: (),
}
Expand description

A token for SSE intrinsics on x86 and x86_64.

Fields§

§_private: ()

Implementations§

Source§

impl Sse

Source

pub unsafe fn new_unchecked() -> Self

Create a SIMD token.

§Safety

The required CPU features must be available.

Source

pub fn _mm_add_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_add_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_sub_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_sub_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_mul_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_mul_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_div_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_div_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_sqrt_ss(self, a: __m128) -> __m128

Source

pub fn _mm_sqrt_ps(self, a: __m128) -> __m128

Source

pub fn _mm_rcp_ss(self, a: __m128) -> __m128

Source

pub fn _mm_rcp_ps(self, a: __m128) -> __m128

Source

pub fn _mm_rsqrt_ss(self, a: __m128) -> __m128

Source

pub fn _mm_rsqrt_ps(self, a: __m128) -> __m128

Source

pub fn _mm_min_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_min_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_max_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_max_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_and_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_andnot_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_or_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_xor_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpeq_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmplt_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmple_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpgt_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpge_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpneq_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpnlt_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpnle_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpngt_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpnge_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpord_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpunord_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpeq_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmplt_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmple_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpgt_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpge_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpneq_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpnlt_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpnle_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpngt_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpnge_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpord_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_cmpunord_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_comieq_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_comilt_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_comile_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_comigt_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_comige_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_comineq_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_ucomieq_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_ucomilt_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_ucomile_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_ucomigt_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_ucomige_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_ucomineq_ss(self, a: __m128, b: __m128) -> i32

Source

pub fn _mm_cvtss_si32(self, a: __m128) -> i32

Source

pub fn _mm_cvt_ss2si(self, a: __m128) -> i32

Source

pub fn _mm_cvttss_si32(self, a: __m128) -> i32

Source

pub fn _mm_cvtt_ss2si(self, a: __m128) -> i32

Source

pub fn _mm_cvtss_f32(self, a: __m128) -> f32

Source

pub fn _mm_cvtsi32_ss(self, a: __m128, b: i32) -> __m128

Source

pub fn _mm_cvt_si2ss(self, a: __m128, b: i32) -> __m128

Source

pub fn _mm_set_ss(self, a: f32) -> __m128

Source

pub fn _mm_set1_ps(self, a: f32) -> __m128

Source

pub fn _mm_set_ps1(self, a: f32) -> __m128

Source

pub fn _mm_set_ps(self, a: f32, b: f32, c: f32, d: f32) -> __m128

Source

pub fn _mm_setr_ps(self, a: f32, b: f32, c: f32, d: f32) -> __m128

Source

pub fn _mm_setzero_ps(self) -> __m128

Source

pub fn _mm_shuffle_ps<const MASK: i32>(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_unpackhi_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_unpacklo_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_movehl_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_movelh_ps(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_movemask_ps(self, a: __m128) -> i32

Source

pub unsafe fn _mm_load_ss(self, p: *const f32) -> __m128

Source

pub unsafe fn _mm_load1_ps(self, p: *const f32) -> __m128

Source

pub unsafe fn _mm_load_ps1(self, p: *const f32) -> __m128

Source

pub unsafe fn _mm_load_ps(self, p: *const f32) -> __m128

Source

pub unsafe fn _mm_loadu_ps(self, p: *const f32) -> __m128

Source

pub unsafe fn _mm_loadr_ps(self, p: *const f32) -> __m128

Source

pub unsafe fn _mm_loadu_si64(self, mem_addr: *const u8) -> __m128i

Source

pub unsafe fn _mm_store_ss(self, p: *mut f32, a: __m128)

Source

pub unsafe fn _mm_store1_ps(self, p: *mut f32, a: __m128)

Source

pub unsafe fn _mm_store_ps1(self, p: *mut f32, a: __m128)

Source

pub unsafe fn _mm_store_ps(self, p: *mut f32, a: __m128)

Source

pub unsafe fn _mm_storeu_ps(self, p: *mut f32, a: __m128)

Source

pub unsafe fn _mm_storer_ps(self, p: *mut f32, a: __m128)

Source

pub fn _mm_move_ss(self, a: __m128, b: __m128) -> __m128

Source

pub fn _mm_sfence(self)

Source

pub fn _mm_prefetch<const STRATEGY: i32>(self, p: *const i8)

Source

pub fn _mm_undefined_ps(self) -> __m128

Source

pub fn _MM_TRANSPOSE4_PS( self, row0: &mut __m128, row1: &mut __m128, row2: &mut __m128, row3: &mut __m128, )

Source

pub unsafe fn _mm_stream_ps(self, mem_addr: *mut f32, a: __m128)

Trait Implementations§

Source§

impl Clone for Sse

Source§

fn clone(&self) -> Sse

Returns a duplicate 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 Debug for Sse

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Copy for Sse

Auto Trait Implementations§

§

impl Freeze for Sse

§

impl RefUnwindSafe for Sse

§

impl Send for Sse

§

impl Sync for Sse

§

impl Unpin for Sse

§

impl UnwindSafe for Sse

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(value: T, _simd: S) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

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

Source§

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.