doc.rust-lang.org
pub const fn _mm_cmpneq_epi16_mask(a: __m128i, b: __m128i) -> __mmask8
Compare packed signed 16-bit integers in a and b for not-equal, and store the results in mask vector k.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_cmpneq_epi8_mask(a: __m128i, b: __m128i) -> __mmask16
Compare packed signed 8-bit integers in a and b for not-equal, and store the results in mask vector k.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_cmpneq_epu16_mask(a: __m128i, b: __m128i) -> __mmask8
Compare packed unsigned 16-bit integers in a and b for not-equal, and store the results in mask vector k.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_cmpneq_epu8_mask(a: __m128i, b: __m128i) -> __mmask16
Compare packed unsigned 8-bit integers in a and b for not-equal, and store the results in mask vector k.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_cvtepi16_epi8(a: __m128i) -> __m128i
Convert packed 16-bit integers in a to packed 8-bit integers with truncation, and store the results in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cvtsepi16_epi8(a: __m128i) -> __m128i
Convert packed signed 16-bit integers in a to packed 8-bit integers with signed saturation, and store the results in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cvtusepi16_epi8(a: __m128i) -> __m128i
Convert packed unsigned 16-bit integers in a to packed unsigned 8-bit integers with unsigned saturation, and store the results in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_dbsad_epu8(a: __m128i, b: __m128i, IMM8: i32) -> __m128i
Compute the sum of absolute differences (SADs) of quadruplets of unsigned 8-bit integers in a compared to those in b, and store the 16-bit results in dst. Four SADs are performed on four 8-bit quadruplets for each 64-bit lane. The first two SADs use the lower 8-bit quadruplet of the lane from a, and the last two SADs use the uppper 8-bit quadruplet of the lane from a. Quadruplets from b are selected from within 128-bit lanes according to the control in imm8, and each SAD in each 64-bit lane uses the selected quadruplet at 8-bit offsets.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_loadu_epi16(mem_addr: *const i16) -> __m128i
Load 128-bits (composed of 8 packed 16-bit integers) from memory into dst. mem_addr does not need to be aligned on any particular boundary.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_loadu_epi8(mem_addr: *const i8) -> __m128i
Load 128-bits (composed of 16 packed 8-bit integers) from memory into dst. mem_addr does not need to be aligned on any particular boundary.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mask2_permutex2var_epi16(a: __m128i, idx: __m128i, k: __mmask8, b: __m128i) -> __m128i
Shuffle 16-bit integers in a and b across lanes using the corresponding selector and index in idx, and store the results in dst using writemask k (elements are copied from idx when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_abs_epi16(src: __m128i, k: __mmask8, a: __m128i) -> __m128i
Compute the absolute value of packed signed 16-bit integers in a, and store the unsigned results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_abs_epi8(src: __m128i, k: __mmask16, a: __m128i) -> __m128i
Compute the absolute value of packed signed 8-bit integers in a, and store the unsigned results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set)
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_add_epi16(src: __m128i, k: __mmask8, a: __m128i, b: __m128i) -> __m128i
Add packed 16-bit integers in a and b, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_add_epi8(src: __m128i, k: __mmask16, a: __m128i, b: __m128i) -> __m128i
Add packed 8-bit integers in a and b, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_adds_epi16(src: __m128i, k: __mmask8, a: __m128i, b: __m128i) -> __m128i
Add packed signed 16-bit integers in a and b using saturation, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_adds_epi8(src: __m128i, k: __mmask16, a: __m128i, b: __m128i) -> __m128i
Add packed signed 8-bit integers in a and b using saturation, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_adds_epu16(src: __m128i, k: __mmask8, a: __m128i, b: __m128i) -> __m128i
Add packed unsigned 16-bit integers in a and b using saturation, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_adds_epu8(src: __m128i, k: __mmask16, a: __m128i, b: __m128i) -> __m128i
Add packed unsigned 8-bit integers in a and b using saturation, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_alignr_epi8(src: __m128i, k: __mmask16, a: __m128i, b: __m128i, IMM8: i32) -> __m128i
Concatenate pairs of 16-byte blocks in a and b into a 32-byte temporary result, shift the result right by imm8 bytes, and store the low 16 bytes in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly