The OpenD Programming Language

inteli.nmmintrin

Public Imports

inteli.types
public import inteli.types;
Undocumented in source.
inteli.smmintrin
public import inteli.smmintrin;
Undocumented in source.

Members

Functions

_mm_cmpestra
int _mm_cmpestra(__m128i a, int la, __m128i b, int lb)

So SSE4.2 has a lot of hard-to-understand instructions. Here is another explanation.

_mm_cmpestrc
int _mm_cmpestrc(__m128i a, int la, __m128i b, int lb)

Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if the resulting mask was non-zero, and 0 otherwise.

_mm_cmpestri
int _mm_cmpestri(__m128i a, int la, __m128i b, int lb)

Compare packed strings in a and b with lengths la and lb using the control in imm8, and return the generated index. Note: if the mask is all zeroes, the returned index is always Count (8 or 16 depending on size).

_mm_cmpestrm
__m128i _mm_cmpestrm(__m128i a, int la, __m128i b, int lb)

Compare packed strings in a and b with lengths la and lb using the control in imm8, and return the generated mask.

_mm_cmpestro
int _mm_cmpestro(__m128i a, int la, __m128i b, int lb)

Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns bit 0 of the resulting bit mask.

_mm_cmpestrs
int _mm_cmpestrs(__m128i a, int la, __m128i b, int lb)

Returns 1 if "any character in a was null", and 0 otherwise. Warning: what they mean is it returns 1 if the given length la is < Count.

_mm_cmpestrz
int _mm_cmpestrz(__m128i a, int la, __m128i b, int lb)

Returns 1 if "any character in b was null", and 0 otherwise. Warning: what they mean is it returns 1 if the given length lb is < Count.

_mm_cmpgt_epi64
__m128i _mm_cmpgt_epi64(__m128i a, __m128i b)

Compare packed signed 64-bit integers in a and b for greater-than.

_mm_cmpistra
int _mm_cmpistra(__m128i a, __m128i b)

Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if b did not contain a null character and the resulting mask was zero, and 0 otherwise.

_mm_cmpistrc
int _mm_cmpistrc(__m128i a, __m128i b)

Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if the resulting mask was non-zero, and 0 otherwise.

_mm_cmpistri
int _mm_cmpistri(__m128i a, __m128i b)

Compare packed strings with implicit lengths in a and b using the control in imm8 and return the generated index. Note: if the mask is all zeroes, the returned index is always Count (8 or 16 depending on size).

_mm_cmpistrm
__m128i _mm_cmpistrm(__m128i a, __m128i b)

Compare packed strings with implicit lengths in a and b using the control in imm8, and return the generated mask.

_mm_cmpistro
int _mm_cmpistro(__m128i a, __m128i b)

Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns bit 0 of the resulting bit mask.

_mm_cmpistrs
int _mm_cmpistrs(__m128i a, __m128i b)

Returns 1 if any character in a was null, and 0 otherwise.

_mm_cmpistrz
int _mm_cmpistrz(__m128i a, __m128i b)

Returns 1 if any character in b was null, and 0 otherwise.

_mm_crc32_u16
uint _mm_crc32_u16(uint crc, ushort v)

Starting with the initial value in crc, accumulates a CR32 value for unsigned 16-bit integer v. Warning: this is computing CRC-32C (Castagnoli), not CRC-32.

_mm_crc32_u32
uint _mm_crc32_u32(uint crc, uint v)

Starting with the initial value in crc, accumulates a CRC32 value for unsigned 32-bit integer v. Warning: this is computing CRC-32C (Castagnoli), not CRC-32.

_mm_crc32_u64
ulong _mm_crc32_u64(ulong crc, ulong v)

Starting with the initial value in crc, accumulates a CRC32 value for unsigned 64-bit integer v. Warning: this is computing CRC-32C (Castagnoli), not CRC-32.

_mm_crc32_u8
uint _mm_crc32_u8(uint crc, ubyte v)

Starting with the initial value in crc, accumulates a CRC32 value for unsigned 8-bit integer v. Warning: this is computing CRC-32C (Castagnoli), not CRC-32.

Variables

_SIDD_BIT_MASK
enum int _SIDD_BIT_MASK;

**Mask only**: return the bit mask (default).

_SIDD_CMP_EQUAL_ANY
enum int _SIDD_CMP_EQUAL_ANY;

For each character in b, find if it is in a (default) The resulting mask has bit set at b positions that were found in a.

_SIDD_CMP_EQUAL_EACH
enum int _SIDD_CMP_EQUAL_EACH;

The strings defined by a and b are equal

_SIDD_CMP_EQUAL_ORDERED
enum int _SIDD_CMP_EQUAL_ORDERED;

Search for the defined substring in the target

_SIDD_CMP_RANGES
enum int _SIDD_CMP_RANGES;

For each character in b, determine if a[0] <= c <= a[1] or a[1] <= c <= a[2]... Contrarily to false documentation on the Internet, pairs must be in a!

_SIDD_LEAST_SIGNIFICANT
enum int _SIDD_LEAST_SIGNIFICANT;

**Index only**: return the least significant bit (default).

_SIDD_MASKED_NEGATIVE_POLARITY
enum int _SIDD_MASKED_NEGATIVE_POLARITY;

Negates results only before the end of the string

_SIDD_MASKED_POSITIVE_POLARITY
enum int _SIDD_MASKED_POSITIVE_POLARITY;

No effect. Do not negate results before the end of the string. (default when using _SIDD_NEGATIVE_POLARITY) You basically never want this.

_SIDD_MOST_SIGNIFICANT
enum int _SIDD_MOST_SIGNIFICANT;

**Index only**: return the most significant bit.

_SIDD_NEGATIVE_POLARITY
enum int _SIDD_NEGATIVE_POLARITY;

Negates results

_SIDD_POSITIVE_POLARITY
enum int _SIDD_POSITIVE_POLARITY;

Do not negate results (default, no effect)

_SIDD_SBYTE_OPS
enum int _SIDD_SBYTE_OPS;

String contains signed 8-bit characters.

_SIDD_SWORD_OPS
enum int _SIDD_SWORD_OPS;

String contains signed 16-bit characters.

_SIDD_UBYTE_OPS
enum int _SIDD_UBYTE_OPS;

String contains unsigned 8-bit characters (default).

_SIDD_UNIT_MASK
enum int _SIDD_UNIT_MASK;

**Mask only**: return the byte/word mask.

_SIDD_UWORD_OPS
enum int _SIDD_UWORD_OPS;

String contains unsigned 16-bit characters.

Meta