BitMagic-C++: bmsse_util.h File Reference

BitMagic-C++

Data Structures | Namespaces | Functions
bmsse_util.h File Reference

Compute functions for SSE SIMD instruction set (internal) More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
class | bm::sse_empty_guard
| SSE2 reinitialization guard class. More...

## Namespaces
| bm

## Functions
void | bm::sse2_xor_arr_2_mask (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end, bm::word_t mask)
| XOR array elements to specified mask dst = *src ^ mask. More...
void | bm::sse2_andnot_arr_2_mask (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end, bm::word_t mask)
| Inverts array elements and NOT them to specified mask dst = ~*src & mask. More...
unsigned | bm::sse2_and_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src)
| AND blocks2 dst &= *src. More...
unsigned | bm::sse2_and_arr_unal (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end)
| AND array elements against another array (unaligned) dst &= *src. More...
unsigned | bm::sse2_and_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end)
bool | bm::sse2_or_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src)
| OR array elements against another array dst |= *src. More...
bool | bm::sse2_or_arr_unal (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end)
| OR array elements against another array (unaligned) dst |= *src. More...
bool | bm::sse2_or_block_2way (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src1, const __m128i *BMRESTRICT src2)
| OR 2 blocks anc copy result to the destination dst = *src1 | src2. More...
bool | bm::sse2_or_block_3way (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src1, const __m128i *BMRESTRICT src2)
| OR array elements against another 2 arrays dst |= *src1 | src2. More...
bool | bm::sse2_or_block_5way (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src1, const __m128i *BMRESTRICT src2, const __m128i *BMRESTRICT src3, const __m128i *BMRESTRICT src4)
| OR array elements against another 2 arrays dst |= *src1 | src2 | src3 | src4. More...
unsigned | bm::sse2_xor_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src)
| XOR block against another dst ^= *src. More...
unsigned | bm::sse2_xor_block_2way (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src1, const __m128i *BMRESTRICT src2)
| 3 operand XOR dst = *src1 ^ src2 More...
unsigned | bm::sse2_sub_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src)
| AND-NOT (SUB) array elements against another array dst &= ~*src. More...
BMFORCEINLINE void | bm::sse2_set_block (__m128i *BMRESTRICT dst, bm::word_t value)
| SSE2 block memset dst = value. More...
BMFORCEINLINE void | bm::sse2_copy_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src)
| SSE2 block copy dst = *src. More...
BMFORCEINLINE void | bm::sse2_stream_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src)
| SSE2 block copy dst = *src. More...
void | bm::sse2_invert_block (__m128i *dst)
| Invert bit block dst = ~*dst or dst ^= *dst. More...
BMFORCEINLINE __m128i | bm::sse2_and (__m128i a, __m128i b)
BMFORCEINLINE __m128i | bm::sse2_or (__m128i a, __m128i b)
BMFORCEINLINE __m128i | bm::sse2_xor (__m128i a, __m128i b)
BMFORCEINLINE __m128i | bm::sse2_sub (__m128i a, __m128i b)
const bm::gap_word_t * | bm::sse2_gap_sum_arr (const bm::gap_word_t *BMRESTRICT pbuf, unsigned sse_vect_waves, unsigned *sum)
| Gap block population count (array sum) utility. More...

## Detailed Description

Compute functions for SSE SIMD instruction set (internal)

Definition in file bmsse_util.h.