Teddy macros unrolling - initial PR to test in CI (#294)

Major refactoring of teddy and teddy_avx2, unrolling macros to C++ templated functions

---------

Co-authored-by: G.E <gregory.economou@vectorcamp.gr>
This commit is contained in:
g. economou
2024-06-26 22:35:33 +03:00
committed by GitHub
parent 30dd577126
commit 328b74656b
11 changed files with 1649 additions and 1880 deletions

View File

@@ -297,7 +297,7 @@ set (hs_exec_SRCS
src/fdr/fdr_confirm_runtime.h
src/fdr/flood_runtime.h
src/fdr/fdr_loadval.h
src/fdr/teddy.c
src/fdr/teddy.cpp
src/fdr/teddy.h
src/fdr/teddy_internal.h
src/fdr/teddy_runtime_common.h
@@ -441,9 +441,11 @@ set (hs_exec_SRCS
src/util/supervector/arch/ppc64el/impl.cpp)
endif()
if (ARCH_IA32 OR ARCH_X86_64)
set (hs_exec_avx2_SRCS
src/fdr/teddy_avx2.c
src/fdr/teddy.cpp
src/fdr/teddy_fat.cpp
src/util/arch/x86/masked_move.c
src/util/arch/x86/masked_move.h
)