Available on x86 or x86-64 only.
Expand description
Streaming SIMD Extensions 4.2 (SSE4.2)
Extends SSE4.1 with STTNI (String and Text New Instructions).
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
Functionsยง
- _mm_
cmpestra sse4.2 - 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 sse4.2 - Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return1if the resulting mask was non-zero, and0otherwise. - _mm_
cmpestri sse4.2 - 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 sse4.2 - Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return the generated mask. - _mm_
cmpestro sse4.2 - Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return bit0of the resulting bit mask. - _mm_
cmpestrs sse4.2 - Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return1if any character in a was null, and0otherwise. - _mm_
cmpestrz sse4.2 - Compares packed strings in
aandbwith lengthslaandlbusing the control inIMM8, and return1if any character inbwas null, and0otherwise. - _mm_
cmpgt_ epi64 sse4.2 - Compares packed 64-bit integers in
aandbfor greater-than, return the results. - _mm_
cmpistra sse4.2 - 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 sse4.2 - Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return1if the resulting mask was non-zero, and0otherwise. - _mm_
cmpistri sse4.2 - 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 sse4.2 - Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return the generated mask. - _mm_
cmpistro sse4.2 - Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return bit0of the resulting bit mask. - _mm_
cmpistrs sse4.2 - Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and returns1if any character inawas null, and0otherwise. - _mm_
cmpistrz sse4.2 - Compares packed strings with implicit lengths in
aandbusing the control inIMM8, and return1if any character inbwas null. and0otherwise. - _mm_
crc32_ u8 sse4.2 - Starting with the initial value in
crc, return the accumulated CRC32-C value for unsigned 8-bit integerv. - _mm_
crc32_ u16 sse4.2 - Starting with the initial value in
crc, return the accumulated CRC32-C value for unsigned 16-bit integerv. - _mm_
crc32_ u32 sse4.2 - Starting with the initial value in
crc, return the accumulated CRC32-C value for unsigned 32-bit integerv. - crc32_
32_ ๐ โ8 - crc32_
32_ ๐ โ16 - crc32_
32_ ๐ โ32 - pcmpestri128 ๐ โ
- pcmpestria128 ๐ โ
- pcmpestric128 ๐ โ
- pcmpestrio128 ๐ โ
- pcmpestris128 ๐ โ
- pcmpestriz128 ๐ โ
- pcmpestrm128 ๐ โ
- pcmpistri128 ๐ โ
- pcmpistria128 ๐ โ
- pcmpistric128 ๐ โ
- pcmpistrio128 ๐ โ
- pcmpistris128 ๐ โ
- pcmpistriz128 ๐ โ
- pcmpistrm128 ๐ โ