doc.rust-lang.org
pub const fn _mm512_cvtepi8_epi16(a: __m256i) -> __m512i
Sign extend packed 8-bit integers in a to packed 16-bit integers, and store the results in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_cvtepu8_epi16(a: __m256i) -> __m512i
Zero extend packed unsigned 8-bit integers in a to packed 16-bit integers, and store the results in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_cvtsepi16_epi8(a: __m512i) -> __m256i
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 const fn _mm512_cvtusepi16_epi8(a: __m512i) -> __m256i
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 _mm512_dbsad_epu8(a: __m512i, b: __m512i, IMM8: i32) -> __m512i
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 fn _mm512_kunpackd(a: __mmask64, b: __mmask64) -> __mmask64
Unpack and interleave 32 bits from masks a and b, and store the 64-bit result in k.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_kunpackw(a: __mmask32, b: __mmask32) -> __mmask32
Unpack and interleave 16 bits from masks a and b, and store the 32-bit result in k.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm512_loadu_epi16(mem_addr: *const i16) -> __m512i
Load 512-bits (composed of 32 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 _mm512_loadu_epi8(mem_addr: *const i8) -> __m512i
Load 512-bits (composed of 64 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 _mm512_madd_epi16(a: __m512i, b: __m512i) -> __m512i
Multiply packed signed 16-bit integers in a and b, producing intermediate signed 32-bit integers. Horizontally add adjacent pairs of intermediate 32-bit integers, and pack the results in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_maddubs_epi16(a: __m512i, b: __m512i) -> __m512i
Vertically multiply each unsigned 8-bit integer from a with the corresponding signed 8-bit integer from b, producing intermediate signed 16-bit integers. Horizontally add adjacent pairs of intermediate signed 16-bit integers, and pack the saturated results in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask2_permutex2var_epi16(a: __m512i, idx: __m512i, k: __mmask32, b: __m512i) -> __m512i
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 _mm512_mask_abs_epi16(src: __m512i, k: __mmask32, a: __m512i) -> __m512i
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 _mm512_mask_abs_epi8(src: __m512i, k: __mmask64, a: __m512i) -> __m512i
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 _mm512_mask_add_epi16(src: __m512i, k: __mmask32, a: __m512i, b: __m512i) -> __m512i
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 _mm512_mask_add_epi8(src: __m512i, k: __mmask64, a: __m512i, b: __m512i) -> __m512i
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 _mm512_mask_adds_epi16(src: __m512i, k: __mmask32, a: __m512i, b: __m512i) -> __m512i
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 _mm512_mask_adds_epi8(src: __m512i, k: __mmask64, a: __m512i, b: __m512i) -> __m512i
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 _mm512_mask_adds_epu16(src: __m512i, k: __mmask32, a: __m512i, b: __m512i) -> __m512i
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 _mm512_mask_adds_epu8(src: __m512i, k: __mmask64, a: __m512i, b: __m512i) -> __m512i
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