Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
This class contains constants useful for text processing with SSE4.2 intrinsics. More...
Variables | |
static const int | CHARS_PER_64_BIT_REGISTER = 8 |
static const int | CHARS_PER_128_BIT_REGISTER = 16 |
static const int | PCMPSTR_EQUAL_ANY = 0x00 |
static const int | PCMPSTR_EQUAL_EACH = 0x08 |
static const int | PCMPSTR_UBYTE_OPS = 0x00 |
static const int | PCMPSTR_NEG_POLARITY = 0x10 |
static const int | STRCHR_MODE = PCMPSTR_EQUAL_ANY | PCMPSTR_UBYTE_OPS |
static const int | STRCMP_MODE |
static const int | SSE_BITMASK [CHARS_PER_128_BIT_REGISTER] |
Precomputed mask values up to 16 bits. More... | |
This class contains constants useful for text processing with SSE4.2 intrinsics.
|
static |
Definition at line 28 of file sse-util.h.
Referenced by impala::DelimitedTextParser::DelimitedTextParser(), impala::DelimitedTextParser::FindFirstInstance(), impala::DelimitedTextParser::ParseSingleTuple(), impala::DelimitedTextParser::ParseSse(), impala::ProcessEscapeMask(), impala::StringCompare(), StringCompare1(), StringCompare2(), and StringCompare3().
|
static |
Number of characters that fit in 64/128 bit register. SSE provides instructions for loading 64 or 128 bits into a register at a time.
Definition at line 27 of file sse-util.h.
Referenced by StringCompare1().
|
static |
SSE4.2 adds instructions for text processing. The instructions have a control byte that determines some of functionality of the instruction. (Equivalent to GCC's _SIDD_CMP_EQUAL_ANY, etc).
Definition at line 33 of file sse-util.h.
|
static |
Definition at line 34 of file sse-util.h.
|
static |
Definition at line 36 of file sse-util.h.
|
static |
Definition at line 35 of file sse-util.h.
|
static |
Precomputed mask values up to 16 bits.
Definition at line 48 of file sse-util.h.
Referenced by impala::DelimitedTextParser::FindFirstInstance(), impala::DelimitedTextParser::ParseSingleTuple(), impala::DelimitedTextParser::ParseSse(), and impala::ProcessEscapeMask().
|
static |
In this mode, SSE text processing functions will return a mask of all the characters that matched.
Definition at line 40 of file sse-util.h.
Referenced by impala::DelimitedTextParser::FindFirstInstance(), impala::DelimitedTextParser::ParseSingleTuple(), and impala::DelimitedTextParser::ParseSse().
|
static |
In this mode, SSE text processing functions will return the number of bytes that match consecutively from the beginning.
Definition at line 44 of file sse-util.h.
Referenced by impala::StringCompare(), StringCompare1(), StringCompare2(), and StringCompare3().