]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
FDR: Squash buckets of included literals in FDR confirm
authorWang, Xiang W <xiang.w.wang@intel.com>
Thu, 22 Jun 2017 08:50:45 +0000 (04:50 -0400)
committerMatthew Barr <matthew.barr@intel.com>
Mon, 21 Aug 2017 01:12:36 +0000 (11:12 +1000)
commit86c5f7feb1efede55a8f93cc35d852063049688e
tree7a7fc3e68a8f8a6fe98d997658053f5282d506b0
parentd2b5523dd88f2dc43c220271f50754c789e2de25
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.
26 files changed:
src/fdr/fdr.c
src/fdr/fdr_compile.cpp
src/fdr/fdr_compile.h
src/fdr/fdr_compile_internal.h
src/fdr/fdr_confirm_compile.cpp
src/fdr/fdr_confirm_runtime.h
src/fdr/teddy_compile.cpp
src/fdr/teddy_compile.h
src/fdr/teddy_runtime_common.h
src/hwlm/hwlm_build.cpp
src/hwlm/hwlm_build.h
src/hwlm/hwlm_literal.h
src/rose/program_runtime.h
src/rose/rose_build_bytecode.cpp
src/rose/rose_build_dump.cpp
src/rose/rose_build_instructions.cpp
src/rose/rose_build_instructions.h
src/rose/rose_build_matchers.cpp
src/rose/rose_build_matchers.h
src/rose/rose_build_program.cpp
src/rose/rose_build_program.h
src/rose/rose_program.h
src/scratch.c
src/scratch.h
unit/internal/fdr.cpp
unit/internal/fdr_flood.cpp