BitMagicC++Library
Functions
SSE4.2 funcions (internal)

Processor specific optimizations for SSE4.2 instructions (internals) More...

Functions

bm::id_t bm::sse4_bit_count (const __m128i *block, const __m128i *block_end)
 
bool bm::sse4_is_all_zero (const __m128i *BMRESTRICT block, const __m128i *BMRESTRICT block_end)
 check if block is all zero bits More...
 
bool bm::sse4_is_all_one (const __m128i *BMRESTRICT block, const __m128i *BMRESTRICT block_end)
 check if block is all zero bits More...
 
bm::id_t bm::sse4_bit_block_calc_count_change (const __m128i *BMRESTRICT block, const __m128i *BMRESTRICT block_end, unsigned *BMRESTRICT bit_count)
 

Detailed Description

Processor specific optimizations for SSE4.2 instructions (internals)

Function Documentation

◆ sse4_bit_block_calc_count_change()

bm::id_t bm::sse4_bit_block_calc_count_change ( const __m128i *BMRESTRICT  block,
const __m128i *BMRESTRICT  block_end,
unsigned *BMRESTRICT  bit_count 
)
inline

SSE4.2 optimized bitcounting and number of GAPs

Definition at line 247 of file bmsse4.h.

References BMREGISTER.

Referenced by bm::bit_block_calc_count_change().

◆ sse4_bit_count()

bm::id_t bm::sse4_bit_count ( const __m128i *  block,
const __m128i *  block_end 
)
inline

SSE4.2 optimized bitcounting .

Definition at line 50 of file bmsse4.h.

References BMFORCEINLINE.

◆ sse4_is_all_one()

bool bm::sse4_is_all_one ( const __m128i *BMRESTRICT  block,
const __m128i *BMRESTRICT  block_end 
)
inline

check if block is all zero bits

Definition at line 175 of file bmsse4.h.

◆ sse4_is_all_zero()

bool bm::sse4_is_all_zero ( const __m128i *BMRESTRICT  block,
const __m128i *BMRESTRICT  block_end 
)
inline

check if block is all zero bits

Definition at line 147 of file bmsse4.h.