BitMagic-C++
Static Public Member Functions | Static Public Attributes
bm::operation_functions< T > Struct Template Reference

#include <bmfunc.h>

Static Public Member Functions

static gap_operation_to_bitset_func_type gap_op_to_bit (unsigned i)
  More...
 
static gap_operation_func_type gap_operation (unsigned i)
  More...
 
static bit_operation_count_func_type bit_operation_count (unsigned i)
  More...
 

Static Public Attributes

static gap_operation_to_bitset_func_type gap2bit_table_ [bm::set_END]
  More...
 
static gap_operation_func_type gapop_table_ [bm::set_END]
  More...
 
static bit_operation_count_func_type bit_op_count_table_ [bm::set_END]
  More...
 

Detailed Description

template<bool T>
struct bm::operation_functions< T >

Definition at line 9237 of file bmfunc.h.

Field Documentation

◆ bit_op_count_table_

template<bool T>
bit_operation_count_func_type bm::operation_functions< T >::bit_op_count_table_
static
Initial value:
= {
0,
0,
0,
0,
0,
0,
0,
0,
}
bm::id_t bit_operation_sub_count_inv(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2) BMNOEXCEPT
Performs inverted bitblock SUB operation and calculates bitcount of the result.
Definition: bmfunc.h:7552
bm::id_t bit_operation_or_count(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2) BMNOEXCEPT
Performs bitblock OR operation and calculates bitcount of the result.
Definition: bmfunc.h:7605
bm::id_t bit_operation_xor_count(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2) BMNOEXCEPT
Performs bitblock XOR operation and calculates bitcount of the result.
Definition: bmfunc.h:8275
bm::id_t bit_operation_and_count(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2) BMNOEXCEPT
Performs bitblock AND operation and calculates bitcount of the result.
Definition: bmfunc.h:7466
bm::id_t bit_operation_sub_count(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2) BMNOEXCEPT
Performs bitblock SUB operation and calculates bitcount of the result.
Definition: bmfunc.h:7515

Definition at line 9244 of file bmfunc.h.

Referenced by bm::operation_functions< T >::bit_operation_count().

◆ gap2bit_table_

template<bool T>
gap_operation_to_bitset_func_type bm::operation_functions< T >::gap2bit_table_
static
Initial value:
= {
&gap_and_to_bitset<bm::gap_word_t>,
&gap_add_to_bitset<bm::gap_word_t>,
&gap_sub_to_bitset<bm::gap_word_t>,
&gap_xor_to_bitset<bm::gap_word_t>,
0
}

Definition at line 9240 of file bmfunc.h.

Referenced by bm::operation_functions< T >::gap_op_to_bit().

◆ gapop_table_

template<bool T>
gap_operation_func_type bm::operation_functions< T >::gapop_table_
static
Initial value:
= {
0
}
gap_word_t * gap_operation_or(const gap_word_t *BMRESTRICT vect1, const gap_word_t *BMRESTRICT vect2, gap_word_t *BMRESTRICT tmp_buf, unsigned &dsize) BMNOEXCEPT
GAP OR operation.
Definition: bmfunc.h:6632
gap_word_t * gap_operation_xor(const gap_word_t *BMRESTRICT vect1, const gap_word_t *BMRESTRICT vect2, gap_word_t *BMRESTRICT tmp_buf, unsigned &dsize) BMNOEXCEPT
GAP XOR operation.
Definition: bmfunc.h:6551
gap_word_t * gap_operation_and(const gap_word_t *BMRESTRICT vect1, const gap_word_t *BMRESTRICT vect2, gap_word_t *BMRESTRICT tmp_buf, unsigned &dsize) BMNOEXCEPT
GAP AND operation.
Definition: bmfunc.h:6484
gap_word_t * gap_operation_sub(const gap_word_t *BMRESTRICT vect1, const gap_word_t *BMRESTRICT vect2, gap_word_t *BMRESTRICT tmp_buf, unsigned &dsize) BMNOEXCEPT
GAP SUB (AND NOT) operation.
Definition: bmfunc.h:6678

Definition at line 9242 of file bmfunc.h.

Referenced by bm::operation_functions< T >::gap_operation().


The documentation for this struct was generated from the following file: