mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-03 04:57:45 +03:00
Discard HAVE_AVX512VBMI checks at Sheng/McSheng compile time.
This commit is contained in:
committed by
Konstantinos Margaritis
parent
b19a41528a
commit
5ad3d64b4b
@@ -793,14 +793,12 @@ bytecode_ptr<NFA> getDfa(raw_dfa &rdfa, const CompileContext &cc,
|
||||
bytecode_ptr<NFA> dfa = nullptr;
|
||||
if (cc.grey.allowSmallWriteSheng) {
|
||||
dfa = shengCompile(rdfa, cc, rm, only_accel_init, &accel_states);
|
||||
#if defined(HAVE_AVX512VBMI)
|
||||
if (!dfa) {
|
||||
dfa = sheng32Compile(rdfa, cc, rm, only_accel_init, &accel_states);
|
||||
}
|
||||
if (!dfa) {
|
||||
dfa = sheng64Compile(rdfa, cc, rm, only_accel_init, &accel_states);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
if (!dfa) {
|
||||
dfa = mcclellanCompile(rdfa, cc, rm, only_accel_init,
|
||||
|
Reference in New Issue
Block a user