doc.rust-lang.org
pub const unsafe fn _mm256_load_ps(mem_addr: *const f32) -> __m256
Loads 256-bits (composed of 8 packed single-precision (32-bit) floating-point elements) from memory into result. mem_addr must be aligned on a 32-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm256_load_pd(mem_addr: *const f64) -> __m256d
Loads 256-bits (composed of 4 packed double-precision (64-bit) floating-point elements) from memory into result. mem_addr must be aligned on a 32-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm256_lddqu_si256(mem_addr: *const __m256i) -> __m256i
Loads 256-bits of integer data from unaligned memory into result. This intrinsic may perform better than _mm256_loadu_si256 when the data crosses a cache line boundary.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_insertf128_si256(a: __m256i, b: __m128i, IMM1: i32) -> __m256i
Copies a to result, then inserts 128 bits from b into result at the location specified by imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_insertf128_ps(a: __m256, b: __m128, IMM1: i32) -> __m256
Copies a to result, then inserts 128 bits (composed of 4 packed single-precision (32-bit) floating-point elements) from b into result at the location specified by imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_insertf128_pd(a: __m256d, b: __m128d, IMM1: i32) -> __m256d
Copies a to result, then inserts 128 bits (composed of 2 packed double-precision (64-bit) floating-point elements) from b into result at the location specified by imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_insert_epi8(a: __m256i, i: i8, INDEX: i32) -> __m256i
Copies a to result, and inserts the 8-bit integer i into result at the location specified by index.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_insert_epi32(a: __m256i, i: i32, INDEX: i32) -> __m256i
Copies a to result, and inserts the 32-bit integer i into result at the location specified by index.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_insert_epi16(a: __m256i, i: i16, INDEX: i32) -> __m256i
Copies a to result, and inserts the 16-bit integer i into result at the location specified by index.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_hsub_ps(a: __m256, b: __m256) -> __m256
Horizontal subtraction of adjacent pairs in the two packed vectors of 8 32-bit floating points a and b. In the result, sums of elements from a are returned in locations of indices 0, 1, 4, 5; while sums of elements from b are locations 2, 3, 6, 7.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_hsub_pd(a: __m256d, b: __m256d) -> __m256d
Horizontal subtraction of adjacent pairs in the two packed vectors of 4 64-bit floating points a and b. In the result, sums of elements from a are returned in even locations, while sums of elements from b are returned in odd locations.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_hadd_ps(a: __m256, b: __m256) -> __m256
Horizontal addition of adjacent pairs in the two packed vectors of 8 32-bit floating points a and b. In the result, sums of elements from a are returned in locations of indices 0, 1, 4, 5; while sums of elements from b are locations 2, 3, 6, 7.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_hadd_pd(a: __m256d, b: __m256d) -> __m256d
Horizontal addition of adjacent pairs in the two packed vectors of 4 64-bit floating points a and b. In the result, sums of elements from a are returned in even locations, while sums of elements from b are returned in odd locations.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_floor_ps(a: __m256) -> __m256
Rounds packed single-precision (32-bit) floating point elements in a toward negative infinity.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_floor_pd(a: __m256d) -> __m256d
Rounds packed double-precision (64-bit) floating point elements in a toward negative infinity.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_extractf128_si256(a: __m256i, IMM1: i32) -> __m128i
Extracts 128 bits (composed of integer data) from a, selected with imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_extractf128_ps(a: __m256, IMM1: i32) -> __m128
Extracts 128 bits (composed of 4 packed single-precision (32-bit) floating-point elements) from a, selected with imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_extractf128_pd(a: __m256d, IMM1: i32) -> __m128d
Extracts 128 bits (composed of 2 packed double-precision (64-bit) floating-point elements) from a, selected with imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_extract_epi32(a: __m256i, INDEX: i32) -> i32
Extracts a 32-bit integer from a, selected with INDEX.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_dp_ps(a: __m256, b: __m256, IMM8: i32) -> __m256
Conditionally multiplies the packed single-precision (32-bit) floating-point elements in a and b using the high 4 bits in imm8, sum the four products, and conditionally return the sum using the low 4 bits of imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly