mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-17 09:45:28 +03:00
FDR: Squash buckets of included literals in FDR confirm
- Change the compile of literal matchers to two passes. - Reverse the bucket assignment in FDR, bucket with longer literals has smaller bucket id. - Squash the buckets of included literals and jump to the the program of included literals directly from parent literal program without going through FDR confirm for included iterals.
This commit is contained in:
committed by
Matthew Barr
parent
d2b5523dd8
commit
86c5f7feb1
@@ -2164,6 +2164,14 @@ RoseProgram makeBoundaryProgram(const RoseBuildImpl &build,
|
||||
return prog;
|
||||
}
|
||||
|
||||
void addIncludedJumpProgram(RoseProgram &program, u32 child_offset,
|
||||
u8 squash) {
|
||||
RoseProgram block;
|
||||
block.add_before_end(make_unique<RoseInstrIncludedJump>(child_offset,
|
||||
squash));
|
||||
program.add_block(move(block));
|
||||
}
|
||||
|
||||
static
|
||||
void addPredBlockSingle(u32 pred_state, RoseProgram &pred_block,
|
||||
RoseProgram &program) {
|
||||
|
||||
Reference in New Issue
Block a user