Module sse42
Streaming SIMD Extensions 4.2 (SSE4.2)
Extends SSE4.1 with STTNI (String and Text New Instructions).
Functions
-
_mm_cmpestra
Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return1ifbdid not contain a null character and the resulting mask was zero, and0otherwise. -
_mm_cmpestrc
Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return1if the resulting mask was non-zero, and0otherwise. -
_mm_cmpestri
Compares packed strings
aandbwith lengthslaandlbusing the control inIMM8and return the generated index. Similar to_mm_cmpistriwith the exception that_mm_cmpistriimplicitly determines the length ofaandb. -
_mm_cmpestrm
Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return the generated mask. -
_mm_cmpestro
Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return bit0of the resulting bit mask. -
_mm_cmpestrs
Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return1if any character in a was null, and0otherwise. -
_mm_cmpestrz
Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return1if any character inbwas null, and0otherwise. -
_mm_cmpgt_epi64
Compares packed 64-bit integers in
aandbfor greater-than, return the results. -
_mm_cmpistra
Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return1ifbdid not contain a null character and the resulting mask was zero, and0otherwise. -
_mm_cmpistrc
Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return1if the resulting mask was non-zero, and0otherwise. -
_mm_cmpistri
Compares packed strings with implicit lengths in
aandbusing the control inIMM8and return the generated index. Similar to_mm_cmpestriwith the exception that_mm_cmpestrirequires the lengths ofaandbto be explicitly specified. -
_mm_cmpistrm
Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return the generated mask. -
_mm_cmpistro
Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return bit0of the resulting bit mask. -
_mm_cmpistrs
Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and returns1if any character inawas null, and0otherwise. -
_mm_cmpistrz
Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return1if any character inbwas null. and0otherwise. -
_mm_crc32_u16
Starting with the initial value in
crc, return the accumulated CRC32-C value for unsigned 16-bit integerv. -
_mm_crc32_u32
Starting with the initial value in
crc, return the accumulated CRC32-C value for unsigned 32-bit integerv. -
_mm_crc32_u8
Starting with the initial value in
crc, return the accumulated CRC32-C value for unsigned 8-bit integerv. - crc32_32_16
- crc32_32_32
- crc32_32_8
- pcmpestri128
- pcmpestria128
- pcmpestric128
- pcmpestrio128
- pcmpestris128
- pcmpestriz128
- pcmpestrm128
- pcmpistri128
- pcmpistria128
- pcmpistric128
- pcmpistrio128
- pcmpistris128
- pcmpistriz128
- pcmpistrm128
Constants
- _SIDD_BIT_MASK Mask only: return the bit mask
-
_SIDD_CMP_EQUAL_ANY
For each character in
a, find if it is inb(Default) -
_SIDD_CMP_EQUAL_EACH
The strings defined by
aandbare equal - _SIDD_CMP_EQUAL_ORDERED Search for the defined substring in the target
-
_SIDD_CMP_RANGES
For each character in
a, determine ifb[0] <= c <= b[1] or b[1] <= c <= b[2]... - _SIDD_LEAST_SIGNIFICANT Index only: return the least significant bit (Default)
- _SIDD_MASKED_NEGATIVE_POLARITY Negates results only before the end of the string
- _SIDD_MASKED_POSITIVE_POLARITY Do not negate results before the end of the string
- _SIDD_MOST_SIGNIFICANT Index only: return the most significant bit
- _SIDD_NEGATIVE_POLARITY Negates results
- _SIDD_POSITIVE_POLARITY Do not negate results (Default)
- _SIDD_SBYTE_OPS String contains signed 8-bit characters
- _SIDD_SWORD_OPS String contains unsigned 16-bit characters
- _SIDD_UBYTE_OPS String contains unsigned 8-bit characters (Default)
- _SIDD_UNIT_MASK Mask only: return the byte mask
- _SIDD_UWORD_OPS String contains unsigned 16-bit characters