mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 18:44:24 +03:00
allow double shufti to share buckets
This commit is contained in:
@@ -50,7 +50,11 @@ namespace ue2 {
|
||||
*/
|
||||
int shuftiBuildMasks(const CharReach &chars, m128 *lo, m128 *hi);
|
||||
|
||||
void shuftiBuildDoubleMasks(const CharReach &onechar,
|
||||
/** \brief Double-byte variant
|
||||
*
|
||||
* Returns false if we are unable to build the masks (too many buckets required)
|
||||
*/
|
||||
bool shuftiBuildDoubleMasks(const CharReach &onechar,
|
||||
const flat_set<std::pair<u8, u8>> &twochar,
|
||||
m128 *lo1, m128 *hi1, m128 *lo2, m128 *hi2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user