doc.rust-lang.org
pub fn _mm256_mask_ternarylogic_epi64(src: __m256i, k: __mmask8, a: __m256i, b: __m256i, IMM8: i32) -> __m256i
Bitwise ternary logic that provides the capability to implement any three-operand binary function; the specific binary function is specified by value in imm8. For each bit in each packed 64-bit integer, the corresponding bit from src, a, and b are used to form a 3 bit index into imm8, and the value at that bit in imm8 is written to the corresponding bit in dst using writemask k at 64-bit granularity (64-bit 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 fn _mm256_mask_ternarylogic_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m256i, IMM8: i32) -> __m256i
Bitwise ternary logic that provides the capability to implement any three-operand binary function; the specific binary function is specified by value in imm8. For each bit in each packed 32-bit integer, the corresponding bit from src, a, and b are used to form a 3 bit index into imm8, and the value at that bit in imm8 is written to the corresponding bit in dst using writemask k at 32-bit granularity (32-bit 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 _mm256_mask_sub_ps(src: __m256, k: __mmask8, a: __m256, b: __m256) -> __m256
Subtract packed single-precision (32-bit) floating-point elements in b from packed single-precision (32-bit) floating-point elements in a, 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 _mm256_mask_sub_pd(src: __m256d, k: __mmask8, a: __m256d, b: __m256d) -> __m256d
Subtract packed double-precision (64-bit) floating-point elements in b from packed double-precision (64-bit) floating-point elements in a, 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 _mm256_mask_sub_epi64(src: __m256i, k: __mmask8, a: __m256i, b: __m256i) -> __m256i
Subtract packed 64-bit integers in b from packed 64-bit integers in a, 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 _mm256_mask_sub_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m256i) -> __m256i
Subtract packed 32-bit integers in b from packed 32-bit integers in a, 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 unsafe fn _mm256_mask_storeu_ps(mem_addr: *mut f32, mask: __mmask8, a: __m256)
Store packed single-precision (32-bit) floating-point elements from a into memory using writemask k. 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 _mm256_mask_storeu_pd(mem_addr: *mut f64, mask: __mmask8, a: __m256d)
Store packed double-precision (64-bit) floating-point elements from a into memory using writemask k. 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 _mm256_mask_storeu_epi64(mem_addr: *mut i64, mask: __mmask8, a: __m256i)
Store packed 64-bit integers from a into memory using writemask k. 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 _mm256_mask_storeu_epi32(mem_addr: *mut i32, mask: __mmask8, a: __m256i)
Store packed 32-bit integers from a into memory using writemask k. 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 _mm256_mask_store_ps(mem_addr: *mut f32, mask: __mmask8, a: __m256)
Store packed single-precision (32-bit) floating-point elements from a into memory using writemask k. mem_addr must be aligned on a 32-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm256_mask_store_pd(mem_addr: *mut f64, mask: __mmask8, a: __m256d)
Store packed double-precision (64-bit) floating-point elements from a into memory using writemask k. mem_addr must be aligned on a 32-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm256_mask_store_epi64(mem_addr: *mut i64, mask: __mmask8, a: __m256i)
Store packed 64-bit integers from a into memory using writemask k. mem_addr must be aligned on a 32-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm256_mask_store_epi32(mem_addr: *mut i32, mask: __mmask8, a: __m256i)
Store packed 32-bit integers from a into memory using writemask k. mem_addr must be aligned on a 32-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_mask_srlv_epi64(src: __m256i, k: __mmask8, a: __m256i, count: __m256i) -> __m256i
Shift packed 64-bit integers in a right by the amount specified by the corresponding element in count while shifting in zeros, 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 _mm256_mask_srlv_epi32(src: __m256i, k: __mmask8, a: __m256i, count: __m256i) -> __m256i
Shift packed 32-bit integers in a right by the amount specified by the corresponding element in count while shifting in zeros, 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 _mm256_mask_srli_epi64(src: __m256i, k: __mmask8, a: __m256i, IMM8: u32) -> __m256i
Shift packed 64-bit integers in a right by imm8 while shifting in zeros, 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 _mm256_mask_srli_epi32(src: __m256i, k: __mmask8, a: __m256i, IMM8: u32) -> __m256i
Shift packed 32-bit integers in a right by imm8 while shifting in zeros, 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 fn _mm256_mask_srl_epi64(src: __m256i, k: __mmask8, a: __m256i, count: __m128i) -> __m256i
Shift packed 64-bit integers in a right by count while shifting in zeros, 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 fn _mm256_mask_srl_epi32(src: __m256i, k: __mmask8, a: __m256i, count: __m128i) -> __m256i
Shift packed 32-bit integers in a right by count while shifting in zeros, 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