SHENG32: Compile priority sheng > mcsheng > sheng32.

This commit is contained in:
Chang, Harry
2020-07-20 06:36:53 +00:00
committed by Konstantinos Margaritis
parent 2cde84c96d
commit 7bd488922a
4 changed files with 45 additions and 8 deletions

View File

@@ -71,6 +71,12 @@ bytecode_ptr<NFA> shengCompile(raw_dfa &raw, const CompileContext &cc,
const ReportManager &rm, bool only_accel_init,
std::set<dstate_id_t> *accel_states = nullptr);
#if defined(HAVE_AVX512VBMI)
bytecode_ptr<NFA> sheng32Compile(raw_dfa &raw, const CompileContext &cc,
const ReportManager &rm, bool only_accel_init,
std::set<dstate_id_t> *accel_states = nullptr);
#endif
struct sheng_escape_info {
CharReach outs;
CharReach outs2_single;