doc.rust-lang.org
pub const fn _mm_add_epi8(a: __m128i, b: __m128i) -> __m128i
Adds packed 8-bit integers in a and b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_add_epi64(a: __m128i, b: __m128i) -> __m128i
Adds packed 64-bit integers in a and b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_add_epi32(a: __m128i, b: __m128i) -> __m128i
Adds packed 32-bit integers in a and b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_add_epi16(a: __m128i, b: __m128i) -> __m128i
Adds packed 16-bit integers in a and b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sm4rnds4_epi32(a: __m128i, b: __m128i) -> __m128i
This intrinsic performs four rounds of SM4 encryption. The intrinsic operates on independent 128-bit lanes. The calculated results are stored in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sm4key4_epi32(a: __m128i, b: __m128i) -> __m128i
This intrinsic performs four rounds of SM4 key expansion. The intrinsic operates on independent 128-bit lanes. The calculated results are stored in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sm3rnds2_epi32(a: __m128i, b: __m128i, c: __m128i, IMM8: i32) -> __m128i
The intrinsic performs two rounds of SM3 operation using initial SM3 state (C, D, G, H) from a, an initial SM3 states (A, B, E, F) from b and a pre-computed words from the c. a with initial SM3 state of (C, D, G, H) assumes input of non-rotated left variables from previous state. The updated SM3 state (A, B, E, F) is written to a. The imm8 should contain the even round number for the first of the two rounds computed by this instruction. The computation masks the imm8 value by ANDing it with 0x3E so that only even round numbers from 0 through 62 are used for this operation. The calculated results are stored in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sm3msg2_epi32(a: __m128i, b: __m128i, c: __m128i) -> __m128i
This is one of the two SM3 message scheduling intrinsics. The intrinsic performs the final calculation for the next four SM3 message words. The calculated results are stored in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sm3msg1_epi32(a: __m128i, b: __m128i, c: __m128i) -> __m128i
This is one of the two SM3 message scheduling intrinsics. The intrinsic performs an initial calculation for the next four SM3 message words. The calculated results are stored in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sha256rnds2_epu32(a: __m128i, b: __m128i, k: __m128i) -> __m128i
Performs 2 rounds of SHA256 operation using an initial SHA256 state (C,D,G,H) from a, an initial SHA256 state (A,B,E,F) from b, and a pre-computed sum of the next 2 round message values (unsigned 32-bit integers) and the corresponding round constants from k, and store the updated SHA256 state (A,B,E,F) in dst.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sha256msg2_epu32(a: __m128i, b: __m128i) -> __m128i
Performs the final calculation for the next four SHA256 message values (unsigned 32-bit integers) using previous message values from a and b, and return the result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sha256msg1_epu32(a: __m128i, b: __m128i) -> __m128i
Performs an intermediate calculation for the next four SHA256 message values (unsigned 32-bit integers) using previous message values from a and b, and return the result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sha1rnds4_epu32(a: __m128i, b: __m128i, FUNC: i32) -> __m128i
Performs four rounds of SHA1 operation using an initial SHA1 state (A,B,C,D) from a and some pre-computed sum of the next 4 round message values (unsigned 32-bit integers), and state variable E from b, and return the updated SHA1 state (A,B,C,D). FUNC contains the logic functions and round constants.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sha1nexte_epu32(a: __m128i, b: __m128i) -> __m128i
Calculate SHA1 state variable E after four rounds of operation from the current SHA1 state variable a, add that value to the scheduled values (unsigned 32-bit integers) in b, and returns the result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sha1msg2_epu32(a: __m128i, b: __m128i) -> __m128i
Performs the final calculation for the next four SHA1 message values (unsigned 32-bit integers) using the intermediate result in a and the previous message values in b, and returns the result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_sha1msg1_epu32(a: __m128i, b: __m128i) -> __m128i
Performs an intermediate calculation for the next four SHA1 message values (unsigned 32-bit integers) using previous message values from a and b, and returning the result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_sm4rnds4_epi32(a: __m256i, b: __m256i) -> __m256i
This intrinsic performs four rounds of SM4 encryption. The intrinsic operates on independent 128-bit lanes. The calculated results are stored in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_sm4key4_epi32(a: __m256i, b: __m256i) -> __m256i
This intrinsic performs four rounds of SM4 key expansion. The intrinsic operates on independent 128-bit lanes. The calculated results are stored in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_sha512rnds2_epi64(a: __m256i, b: __m256i, k: __m128i) -> __m256i
This intrinsic performs two rounds of SHA512 operation using initial SHA512 state (C,D,G,H) from a, an initial SHA512 state (A,B,E,F) from b, and a pre-computed sum of the next two round message qwords and the corresponding round constants from c (only the two lower qwords of the third operand). The updated SHA512 state (A,B,E,F) is written to dst, and dst can be used as the updated state (C,D,G,H) in later rounds.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_sha512msg2_epi64(a: __m256i, b: __m256i) -> __m256i
This intrinsic is one of the two SHA512 message scheduling instructions. The intrinsic performs the final calculation for the next four SHA512 message qwords. The calculated results are stored in dst.
function
core
Stable since 1.89.0
Version 1.100.0-nightly