doc.rust-lang.org
pub fn _mm256_fixupimm_pd(a: __m256d, b: __m256d, c: __m256i, IMM8: i32) -> __m256d
Fix up packed double-precision (64-bit) floating-point elements in a and b using packed 64-bit integers in c, and store the results in dst. imm8 is used to set the required flags reporting.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_fixupimm_ps(a: __m256, b: __m256, c: __m256i, IMM8: i32) -> __m256
Fix up packed single-precision (32-bit) floating-point elements in a and b using packed 32-bit integers in c, and store the results in dst. imm8 is used to set the required flags reporting.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_getexp_pd(a: __m256d) -> __m256d
Convert the exponent of each packed double-precision (64-bit) floating-point element in a to a double-precision (64-bit) floating-point number representing the integer exponent, and store the results in dst. This intrinsic essentially calculates floor(log2(x)) for each element.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_getexp_ps(a: __m256) -> __m256
Convert the exponent of each packed single-precision (32-bit) floating-point element in a to a single-precision (32-bit) floating-point number representing the integer exponent, and store the results in dst. This intrinsic essentially calculates floor(log2(x)) for each element.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_getmant_pd(a: __m256d, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m256d
Normalize the mantissas of packed double-precision (64-bit) floating-point elements in a, and store the results in dst. This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_getmant_ps(a: __m256, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m256
Normalize the mantissas of packed single-precision (32-bit) floating-point elements in a, and store the results in dst. This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign. The mantissa is normalized to the interval specified by interv, which can take the following values: _MM_MANT_NORM_1_2 // interval [1, 2) _MM_MANT_NORM_p5_2 // interval [0.5, 2) _MM_MANT_NORM_p5_1 // interval [0.5, 1) _MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5) The sign is determined by sc which can take the following values: _MM_MANT_SIGN_src // sign = sign(src) _MM_MANT_SIGN_zero // sign = 0 _MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_i32scatter_epi32(base_addr: *mut i32, vindex: __m256i, a: __m256i, SCALE: i32)
Stores 8 32-bit integer elements from a to memory starting at location base_addr at packed 32-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_i32scatter_epi64(slice: *mut i64, offsets: __m128i, src: __m256i, SCALE: i32)
Scatter 64-bit integers from a into memory using 32-bit indices. 64-bit elements are stored at addresses starting at base_addr and offset by each 32-bit element in vindex (each index is scaled by the factor in scale). scale should be 1, 2, 4 or 8.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_i32scatter_pd(base_addr: *mut f64, vindex: __m128i, a: __m256d, SCALE: i32)
Stores 4 double-precision (64-bit) floating-point elements from a to memory starting at location base_addr at packed 32-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_i32scatter_ps(base_addr: *mut f32, vindex: __m256i, a: __m256, SCALE: i32)
Stores 8 single-precision (32-bit) floating-point elements from a to memory starting at location base_addr at packed 32-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_i64scatter_epi32(base_addr: *mut i32, vindex: __m256i, a: __m128i, SCALE: i32)
Stores 4 32-bit integer elements from a to memory starting at location base_addr at packed 64-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_i64scatter_epi64(base_addr: *mut i64, vindex: __m256i, a: __m256i, SCALE: i32)
Stores 4 64-bit integer elements from a to memory starting at location base_addr at packed 64-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_i64scatter_pd(base_addr: *mut f64, vindex: __m256i, a: __m256d, SCALE: i32)
Stores 4 double-precision (64-bit) floating-point elements from a to memory starting at location base_addr at packed 64-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_i64scatter_ps(base_addr: *mut f32, vindex: __m256i, a: __m128, SCALE: i32)
Stores 4 single-precision (32-bit) floating-point elements from a to memory starting at location base_addr at packed 64-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_insertf32x4(a: __m256, b: __m128, IMM8: i32) -> __m256
Copy a to dst, then insert 128 bits (composed of 4 packed single-precision (32-bit) floating-point elements) from b into dst at the location specified by imm8.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_inserti32x4(a: __m256i, b: __m128i, IMM8: i32) -> __m256i
Copy a to dst, then insert 128 bits (composed of 4 packed 32-bit integers) from b into dst at the location specified by imm8.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm256_load_epi32(mem_addr: *const i32) -> __m256i
Load 256-bits (composed of 8 packed 32-bit integers) from memory into dst. 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_load_epi64(mem_addr: *const i64) -> __m256i
Load 256-bits (composed of 4 packed 64-bit integers) from memory into dst. 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_loadu_epi32(mem_addr: *const i32) -> __m256i
Load 256-bits (composed of 8 packed 32-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 _mm256_loadu_epi64(mem_addr: *const i64) -> __m256i
Load 256-bits (composed of 4 packed 64-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