|
BitMagic-C++
|
Compute functions for SSE SIMD instruction set (internal). More...

Go to the source code of this file.
Data Structures | |
| class | bm::sse_empty_guard |
| SSE2 reinitialization guard class. More... | |
Namespaces | |
| namespace | 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) BMNOEXCEPT |
| XOR array elements to specified mask dst = *src ^ mask. | |
| void | bm::sse2_andnot_arr_2_mask (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end, bm::word_t mask) BMNOEXCEPT |
| Inverts array elements and NOT them to specified mask dst = ~*src & mask. | |
| unsigned | bm::sse2_and_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src) BMNOEXCEPT |
| AND blocks2 dst &= *src. | |
| unsigned | bm::sse2_and_arr_unal (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end) BMNOEXCEPT |
| AND array elements against another array (unaligned) dst &= *src. | |
| unsigned | bm::sse2_and_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end) BMNOEXCEPT |
| bool | bm::sse2_or_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src) BMNOEXCEPT |
| OR array elements against another array dst |= *src. | |
| bool | bm::sse2_or_arr_unal (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src, const __m128i *BMRESTRICT src_end) BMNOEXCEPT |
| OR array elements against another array (unaligned) dst |= *src. | |
| bool | bm::sse2_or_block_2way (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src1, const __m128i *BMRESTRICT src2) BMNOEXCEPT |
| OR 2 blocks anc copy result to the destination dst = *src1 | src2. | |
| bool | bm::sse2_or_block_3way (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src1, const __m128i *BMRESTRICT src2) BMNOEXCEPT |
| OR array elements against another 2 arrays dst |= *src1 | src2. | |
| 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) BMNOEXCEPT |
| OR array elements against another 2 arrays dst |= *src1 | src2 | src3 | src4. | |
| unsigned | bm::sse2_xor_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src) BMNOEXCEPT |
| XOR block against another dst ^= *src. | |
| unsigned | bm::sse2_xor_block_2way (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src1, const __m128i *BMRESTRICT src2) BMNOEXCEPT |
| 3 operand XOR dst = *src1 ^ src2 | |
| unsigned | bm::sse2_sub_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src) BMNOEXCEPT |
| AND-NOT (SUB) array elements against another array dst &= ~*src. | |
| void | bm::sse2_set_block (__m128i *BMRESTRICT dst, bm::word_t value) BMNOEXCEPT |
| SSE2 block memset dst = value. | |
| void | bm::sse2_copy_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src) BMNOEXCEPT |
| SSE2 block copy dst = *src. | |
| void | bm::sse2_copy_block_unalign (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src) BMNOEXCEPT |
| SSE2 block copy (unaligned SRC) dst = *src. | |
| void | bm::sse2_stream_block (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src) BMNOEXCEPT |
| SSE2 block copy dst = *src. | |
| void | bm::sse2_stream_block_unalign (__m128i *BMRESTRICT dst, const __m128i *BMRESTRICT src) BMNOEXCEPT |
| SSE2 block copy (unaligned src) dst = *src. | |
| void | bm::sse2_invert_block (__m128i *BMRESTRICT dst) BMNOEXCEPT |
| Invert bit block dst = ~*dst or dst ^= *dst. | |
| BMFORCEINLINE __m128i | bm::sse2_and (__m128i a, __m128i b) BMNOEXCEPT |
| BMFORCEINLINE __m128i | bm::sse2_or (__m128i a, __m128i b) BMNOEXCEPT |
| BMFORCEINLINE __m128i | bm::sse2_xor (__m128i a, __m128i b) BMNOEXCEPT |
| BMFORCEINLINE __m128i | bm::sse2_sub (__m128i a, __m128i b) BMNOEXCEPT |
| const bm::gap_word_t * | bm::sse2_gap_sum_arr (const bm::gap_word_t *BMRESTRICT pbuf, unsigned sse_vect_waves, unsigned *sum) BMNOEXCEPT |
| Gap block population count (array sum) utility. | |
| unsigned | bm::sse2_lower_bound_scan_u32 (const unsigned *BMRESTRICT arr, unsigned target, unsigned from, unsigned to) BMNOEXCEPT |
| lower bound (great or equal) linear scan in ascending order sorted array | |
Compute functions for SSE SIMD instruction set (internal).
Definition in file bmsse_util.h.