]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
4 years agoFixed several typos
Walt Stoneburner [Mon, 18 May 2020 17:15:34 +0000 (13:15 -0400)] 
Fixed several typos
Fixed spellings of regular, interpretation, and grammar to improve readability.

Fixes github issue #242

4 years agoAdjust sensitive terms
Wang Xiang W [Thu, 19 Nov 2020 14:25:21 +0000 (14:25 +0000)] 
Adjust sensitive terms

4 years agolimex: add fast NFA check
Wang Xiang W [Thu, 10 Sep 2020 09:55:12 +0000 (09:55 +0000)] 
limex: add fast NFA check

4 years agoDiscard HAVE_AVX512VBMI checks at Sheng/McSheng compile time.
Chang, Harry [Wed, 21 Oct 2020 12:30:04 +0000 (12:30 +0000)] 
Discard HAVE_AVX512VBMI checks at Sheng/McSheng compile time.

4 years agoAdd cpu feature / target info "AVX512VBMI".
Chang, Harry [Wed, 21 Oct 2020 05:14:53 +0000 (05:14 +0000)] 
Add cpu feature / target info "AVX512VBMI".

4 years agoMCSHENG64: extend to 64-state based on mcsheng
Zhu,Wenjun [Tue, 8 Sep 2020 14:59:33 +0000 (14:59 +0000)] 
MCSHENG64: extend to 64-state based on mcsheng

4 years agolookaround:
Hong, Yang A [Tue, 20 Oct 2020 20:34:50 +0000 (20:34 +0000)] 
lookaround:
add 64x8 and 64x16 shufti models
add mask64 model
expand entry quantity

4 years agoAVX512VBMI Fat Teddy.
Chang, Harry [Tue, 25 Feb 2020 05:35:09 +0000 (13:35 +0800)] 
AVX512VBMI Fat Teddy.

4 years agoFix find_vertices_in_cycles(): don't check self-loop in SCC.
Chang, Harry [Sat, 19 Sep 2020 05:00:13 +0000 (05:00 +0000)] 
Fix find_vertices_in_cycles(): don't check self-loop in SCC.

4 years agoFix cmake error on ICX under release mode.
Chang, Harry [Wed, 26 Aug 2020 05:39:10 +0000 (05:39 +0000)] 
Fix cmake error on ICX under release mode.

4 years agoFix sheng64 dump compile issue in clang.
Chang, Harry [Tue, 1 Sep 2020 07:04:04 +0000 (07:04 +0000)] 
Fix sheng64 dump compile issue in clang.

4 years agoFix sheng64 compile issue in clang and in DEBUG_OUTPUT mode on SKX.
Chang, Harry [Mon, 31 Aug 2020 13:27:22 +0000 (13:27 +0000)] 
Fix sheng64 compile issue in clang and in DEBUG_OUTPUT mode on SKX.

4 years agoSHENG64: 64-state 1-byte shuffle based DFA.
Chang, Harry [Fri, 10 Jul 2020 13:26:17 +0000 (13:26 +0000)] 
SHENG64: 64-state 1-byte shuffle based DFA.

4 years agoSHENG32: Compile priority sheng > mcsheng > sheng32.
Chang, Harry [Mon, 20 Jul 2020 06:36:53 +0000 (06:36 +0000)] 
SHENG32: Compile priority sheng > mcsheng > sheng32.

4 years agoSHENG32: 32-state 1-byte shuffle based DFA.
Chang, Harry [Thu, 1 Nov 2018 08:33:58 +0000 (16:33 +0800)] 
SHENG32: 32-state 1-byte shuffle based DFA.

4 years agoDFA: use sherman economically
Hong, Yang A [Thu, 18 Jun 2020 09:48:52 +0000 (09:48 +0000)] 
DFA: use sherman economically

4 years agohsbench: add CSV dump support
Wang Xiang W [Thu, 30 Apr 2020 11:37:55 +0000 (07:37 -0400)] 
hsbench: add CSV dump support

4 years agooptimize get_conf_stride_1()
Konstantinos Margaritis [Fri, 22 Jan 2021 08:13:55 +0000 (10:13 +0200)] 
optimize get_conf_stride_1()

4 years agoremove loads from movemask128, variable_byte_shift, add palignr_imm(), minor fixes
Konstantinos Margaritis [Fri, 22 Jan 2021 08:13:19 +0000 (10:13 +0200)] 
remove loads from movemask128, variable_byte_shift, add palignr_imm(), minor fixes

4 years agofix non-const char * write-strings compile error
Konstantinos Margaritis [Fri, 22 Jan 2021 08:11:20 +0000 (10:11 +0200)] 
fix non-const char * write-strings compile error

4 years agoreplace andn() by explicit bitops and group loads/stores, gives ~1% gain
Konstantinos Margaritis [Mon, 18 Jan 2021 11:00:45 +0000 (13:00 +0200)] 
replace andn() by explicit bitops and group loads/stores, gives ~1% gain

4 years agoborrow cache prefetching tricks from the Marvell port, seem to improve performance...
Konstantinos Margaritis [Fri, 15 Jan 2021 15:42:11 +0000 (17:42 +0200)] 
borrow cache prefetching tricks from the Marvell port, seem to improve performance by 5-28%

4 years agofix compilation on non-x86
Konstantinos Margaritis [Fri, 15 Jan 2021 15:35:21 +0000 (17:35 +0200)] 
fix compilation on non-x86

4 years agoadd some useful intrinsics
Konstantinos Margaritis [Fri, 15 Jan 2021 15:35:01 +0000 (17:35 +0200)] 
add some useful intrinsics

4 years agoadd expand128() implementation for NEON
Konstantinos Margaritis [Fri, 15 Jan 2021 15:33:41 +0000 (17:33 +0200)] 
add expand128() implementation for NEON

4 years agoMerge pull request #5 from VectorCamp/bugfix/fix-ia32-build v5.3.2
Konstantinos Margaritis [Thu, 31 Dec 2020 07:50:35 +0000 (09:50 +0200)] 
Merge pull request #5 from VectorCamp/bugfix/fix-ia32-build

fix IA32 build, as we need minimum SSSE3 support for compilation to s…

4 years agofix IA32 build, as we need minimum SSSE3 support for compilation to succeed 5/head
Konstantinos Margaritis [Wed, 30 Dec 2020 17:57:44 +0000 (19:57 +0200)] 
fix IA32 build, as we need minimum SSSE3 support for compilation to succeed

4 years agoMerge pull request #2 from VectorCamp/develop v5.3.1
Konstantinos Margaritis [Mon, 21 Dec 2020 18:50:27 +0000 (20:50 +0200)] 
Merge pull request #2 from VectorCamp/develop

Develop

4 years agoMerge pull request #1 from VectorCamp/feature/add-arm-support 2/head
Konstantinos Margaritis [Wed, 16 Dec 2020 17:01:32 +0000 (19:01 +0200)] 
Merge pull request #1 from VectorCamp/feature/add-arm-support

Feature/add arm support

4 years agofix x86 compilation 1/head
Konstantinos Margaritis [Tue, 8 Dec 2020 09:42:30 +0000 (11:42 +0200)] 
fix x86 compilation

4 years agoremove forgotten printf
Konstantinos Margaritis [Mon, 7 Dec 2020 21:12:41 +0000 (23:12 +0200)] 
remove forgotten printf

4 years agooptimize *shiftbyte_m128() functions to use palign instead of variable_byte_shift_m128()
Konstantinos Margaritis [Mon, 7 Dec 2020 21:12:26 +0000 (23:12 +0200)] 
optimize *shiftbyte_m128() functions to use palign instead of variable_byte_shift_m128()

4 years agoclear zones array
Konstantinos Margaritis [Thu, 3 Dec 2020 17:30:50 +0000 (19:30 +0200)] 
clear zones array

4 years agoadd ARM platform
Konstantinos Margaritis [Thu, 3 Dec 2020 17:27:58 +0000 (19:27 +0200)] 
add ARM platform

4 years agofix movq and load_m128_from_u64a and resp. test for NEON
Konstantinos Margaritis [Thu, 3 Dec 2020 17:27:38 +0000 (19:27 +0200)] 
fix movq and load_m128_from_u64a and resp. test for NEON

4 years agodefine debug vector print functions to NULL in non-debug mode
Konstantinos Margaritis [Thu, 3 Dec 2020 17:27:05 +0000 (19:27 +0200)] 
define debug vector print functions to NULL in non-debug mode

4 years agosmall optimization that was for some reason failing in ARM, should be faster anyway
Konstantinos Margaritis [Tue, 24 Nov 2020 15:59:42 +0000 (17:59 +0200)] 
small optimization that was for some reason failing in ARM, should be faster anyway

4 years agohelper functions to print a m128 vector in debug mode
Konstantinos Margaritis [Tue, 24 Nov 2020 15:57:16 +0000 (17:57 +0200)] 
helper functions to print a m128 vector in debug mode

4 years agowhen building in debug mode, vgetq_lane_*() and vextq_*() need immediate operands...
Konstantinos Margaritis [Tue, 24 Nov 2020 15:56:40 +0000 (17:56 +0200)] 
when building in debug mode, vgetq_lane_*() and vextq_*() need immediate operands, and we have to use switch()'ed versions

4 years agofix compiler flag testcase
Konstantinos Margaritis [Tue, 24 Nov 2020 15:55:03 +0000 (17:55 +0200)] 
fix compiler flag testcase

4 years agoremove debug from functions
Konstantinos Margaritis [Thu, 5 Nov 2020 18:33:17 +0000 (20:33 +0200)] 
remove debug from functions

4 years agoadd some debug and minor optimizations in unit test
Konstantinos Margaritis [Thu, 5 Nov 2020 17:21:16 +0000 (19:21 +0200)] 
add some debug and minor optimizations in unit test

4 years agoadd some debug info
Konstantinos Margaritis [Thu, 5 Nov 2020 17:20:37 +0000 (19:20 +0200)] 
add some debug info

4 years agoadd compress128 function and implementation
Konstantinos Margaritis [Thu, 5 Nov 2020 17:20:06 +0000 (19:20 +0200)] 
add compress128 function and implementation

4 years agoadd extra instructions (currently arm-only), fix order of elements in set4x32/set2x64
Konstantinos Margaritis [Thu, 5 Nov 2020 17:18:53 +0000 (19:18 +0200)] 
add extra instructions (currently arm-only), fix order of elements in set4x32/set2x64

4 years agofix 32-bit/64-bit detection
Konstantinos Margaritis [Thu, 5 Nov 2020 15:31:20 +0000 (17:31 +0200)] 
fix 32-bit/64-bit detection

4 years agoneeded for ARM vector type conversions
Konstantinos Margaritis [Fri, 30 Oct 2020 08:50:24 +0000 (10:50 +0200)] 
needed for ARM vector type conversions

4 years agosmall optimization in storecompress*()
Konstantinos Margaritis [Fri, 30 Oct 2020 08:49:50 +0000 (10:49 +0200)] 
small optimization in storecompress*()

4 years agofix ARM implementations
Konstantinos Margaritis [Fri, 30 Oct 2020 08:38:41 +0000 (10:38 +0200)] 
fix ARM implementations

4 years agodon't use SSE directly in the tests
Konstantinos Margaritis [Fri, 30 Oct 2020 08:38:05 +0000 (10:38 +0200)] 
don't use SSE directly in the tests

4 years agodon't redefine function on x86
Konstantinos Margaritis [Fri, 16 Oct 2020 10:09:08 +0000 (13:09 +0300)] 
don't redefine function on x86

4 years agoscalar implementations of diffrich256 and diffrich384
Konstantinos Margaritis [Fri, 16 Oct 2020 10:02:40 +0000 (13:02 +0300)] 
scalar implementations of diffrich256 and diffrich384

4 years agoRevert "move x86 popcount.h implementations to util/arch/x86/popcount.h"
Konstantinos Margaritis [Fri, 16 Oct 2020 09:32:44 +0000 (12:32 +0300)] 
Revert "move x86 popcount.h implementations to util/arch/x86/popcount.h"

This reverts commit 6581aae90e55520353c03edb716de80ecc03521a.

4 years agosplit arch-agnostic simd_utils.h functions into the common file
Konstantinos Margaritis [Fri, 16 Oct 2020 09:30:34 +0000 (12:30 +0300)] 
split arch-agnostic simd_utils.h functions into the common file

4 years agofix compilation paths for cpuid_flags for x86
Konstantinos Margaritis [Fri, 16 Oct 2020 09:29:45 +0000 (12:29 +0300)] 
fix compilation paths for cpuid_flags for x86

4 years agoadd scalar versions of the vectorized functions for architectures that don't support...
Konstantinos Margaritis [Thu, 15 Oct 2020 13:30:18 +0000 (16:30 +0300)] 
add scalar versions of the vectorized functions for architectures that don't support 256-bit/512-bit SIMD vectors such as ARM

4 years agoadd ARM simd_utils vectorized functions for 128-bit vectors
Konstantinos Margaritis [Thu, 15 Oct 2020 13:26:49 +0000 (16:26 +0300)] 
add ARM simd_utils vectorized functions for 128-bit vectors

4 years agoadd arm simple cpuid_flags
Konstantinos Margaritis [Thu, 15 Oct 2020 13:25:29 +0000 (16:25 +0300)] 
add arm simple cpuid_flags

4 years agoadd ARM version of simd_utils.h
Konstantinos Margaritis [Tue, 13 Oct 2020 06:19:56 +0000 (09:19 +0300)] 
add ARM version of simd_utils.h

4 years agoadd arm bitutils.h header
Konstantinos Margaritis [Thu, 8 Oct 2020 17:50:55 +0000 (20:50 +0300)] 
add arm bitutils.h header

4 years agoadd C implementation of pdep64()
Konstantinos Margaritis [Thu, 8 Oct 2020 17:50:18 +0000 (20:50 +0300)] 
add C implementation of pdep64()

4 years agomove cpuid_flags.h header to common
Konstantinos Margaritis [Thu, 8 Oct 2020 17:48:20 +0000 (20:48 +0300)] 
move cpuid_flags.h header to common

4 years agouse C implementation of popcount for arm
Konstantinos Margaritis [Wed, 7 Oct 2020 11:28:45 +0000 (14:28 +0300)] 
use C implementation of popcount for arm

4 years agoadd arm architecture basic defines
Konstantinos Margaritis [Wed, 7 Oct 2020 11:28:12 +0000 (14:28 +0300)] 
add arm architecture basic defines

4 years agominor fix
Konstantinos Margaritis [Wed, 7 Oct 2020 11:26:41 +0000 (14:26 +0300)] 
minor fix

4 years agouse right intrinsic
Konstantinos Margaritis [Tue, 6 Oct 2020 10:45:52 +0000 (13:45 +0300)] 
use right intrinsic

4 years agoadd necessary modifications to CMake system to enable building on ARM, add arm_neon...
Konstantinos Margaritis [Tue, 6 Oct 2020 09:44:23 +0000 (12:44 +0300)] 
add necessary modifications to CMake system to enable building on ARM, add arm_neon.h intrinsic header to intrinsics.h

4 years agoadd arm checks in platform.cmake
Konstantinos Margaritis [Tue, 6 Oct 2020 05:09:18 +0000 (08:09 +0300)] 
add arm checks in platform.cmake

4 years agoRevert "Revert "move x86 popcount.h implementations to util/arch/x86/popcount.h""
Konstantinos Margaritis [Thu, 24 Sep 2020 08:52:59 +0000 (11:52 +0300)] 
Revert "Revert "move x86 popcount.h implementations to util/arch/x86/popcount.h""

This reverts commit 04fbf2468140cc4d7ccabc62a2bdc4503a3d31c5.

4 years agoRevert "move x86 popcount.h implementations to util/arch/x86/popcount.h"
Konstantinos Margaritis [Wed, 23 Sep 2020 18:38:12 +0000 (21:38 +0300)] 
Revert "move x86 popcount.h implementations to util/arch/x86/popcount.h"

This reverts commit 6581aae90e55520353c03edb716de80ecc03521a.

4 years agofix names, use own intrinsic instead of explicit _mm* ones
Konstantinos Margaritis [Wed, 23 Sep 2020 08:51:21 +0000 (11:51 +0300)] 
fix names, use own intrinsic instead of explicit _mm* ones

4 years agoadd some set*() functions, harmonize names, rename setAxB to set1_AxB when using...
Konstantinos Margaritis [Wed, 23 Sep 2020 08:49:26 +0000 (11:49 +0300)] 
add some set*() functions, harmonize names, rename setAxB to set1_AxB when using mm_set1_* internally

4 years agomove x86 implementations of simd_utils.h to util/arch/x86/
Konstantinos Margaritis [Tue, 22 Sep 2020 10:12:07 +0000 (13:12 +0300)] 
move x86 implementations of simd_utils.h to util/arch/x86/

4 years agono need to check for WIN32*
Konstantinos Margaritis [Tue, 22 Sep 2020 10:10:52 +0000 (13:10 +0300)] 
no need to check for WIN32*

4 years agomove andn helper function to bitutils.h
Konstantinos Margaritis [Tue, 22 Sep 2020 09:17:27 +0000 (12:17 +0300)] 
move andn helper function to bitutils.h

4 years agomove x86 popcount.h implementations to util/arch/x86/popcount.h
Konstantinos Margaritis [Tue, 22 Sep 2020 08:45:24 +0000 (11:45 +0300)] 
move x86 popcount.h implementations to util/arch/x86/popcount.h

4 years agomove x86 bitutils.h implementations to util/arch/x86/bitutils.h
Konstantinos Margaritis [Tue, 22 Sep 2020 08:02:07 +0000 (11:02 +0300)] 
move x86 bitutils.h implementations to util/arch/x86/bitutils.h

4 years agofix include paths for masked_move
Konstantinos Margaritis [Fri, 18 Sep 2020 09:55:57 +0000 (12:55 +0300)] 
fix include paths for masked_move

4 years agomove masked_move* AVX2 implementation to util/arch/x86
Konstantinos Margaritis [Fri, 18 Sep 2020 09:51:39 +0000 (12:51 +0300)] 
move masked_move* AVX2 implementation to util/arch/x86

4 years agomove crc32 SSE42 implementation to util/arch/x86
Konstantinos Margaritis [Fri, 18 Sep 2020 09:48:14 +0000 (12:48 +0300)] 
move crc32 SSE42 implementation to util/arch/x86

4 years agomove cpuid stuff to util/arch/x86
Konstantinos Margaritis [Thu, 17 Sep 2020 17:35:39 +0000 (20:35 +0300)] 
move cpuid stuff to util/arch/x86

4 years agomove x86 arch and SIMD types to x86 arch folder
Konstantinos Margaritis [Thu, 17 Sep 2020 16:00:48 +0000 (19:00 +0300)] 
move x86 arch and SIMD types to x86 arch folder

5 years agoMerge branch 'github_develop' into github_master v5.3.0
Hong, Yang A [Mon, 25 May 2020 14:30:57 +0000 (14:30 +0000)] 
Merge branch 'github_develop' into github_master

5 years agoBump version number for release
Hong, Yang A [Fri, 8 May 2020 14:34:28 +0000 (14:34 +0000)] 
Bump version number for release

5 years agochangelog: updates for 5.3.0 release
Hong, Yang A [Tue, 19 May 2020 09:49:19 +0000 (09:49 +0000)] 
changelog: updates for 5.3.0 release

5 years agotools/fuzz: add test scripts for synthetic pattern generation.
Hong, Yang A [Mon, 25 May 2020 14:22:18 +0000 (14:22 +0000)] 
tools/fuzz: add test scripts for synthetic pattern generation.

5 years agogcc-10: fix hyperscan compile issue
Hong, Yang A [Mon, 18 May 2020 20:08:20 +0000 (20:08 +0000)] 
gcc-10: fix hyperscan compile issue

Fixes github issue #239

5 years agoliteral API: remove HS_FLAG_MULTILINE flag support
Hong, Yang A [Wed, 13 May 2020 16:37:57 +0000 (16:37 +0000)] 
literal API: remove HS_FLAG_MULTILINE flag support

fixes github issue #237

5 years agoadd AVX512 support for vermicelli model
Hong, Yang A [Tue, 28 Apr 2020 10:15:40 +0000 (10:15 +0000)] 
add AVX512 support for vermicelli model

5 years agohsbench: add hyphen support for -T option
Hong, Yang A [Tue, 28 Apr 2020 10:14:55 +0000 (10:14 +0000)] 
hsbench: add hyphen support for -T option

5 years agoadd Hyperscan version marcro in public header
Hong, Yang A [Mon, 20 Apr 2020 13:05:37 +0000 (13:05 +0000)] 
add Hyperscan version marcro in public header

5 years agoRevert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy.
Chang, Harry [Tue, 14 Apr 2020 07:56:31 +0000 (15:56 +0800)] 
Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy.

5 years agoAVX512VBMI Teddy.
Chang, Harry [Tue, 5 Nov 2019 13:19:38 +0000 (21:19 +0800)] 
AVX512VBMI Teddy.

5 years agoFix undefined behaviour
Federico G. Schwindt [Fri, 20 Mar 2020 11:44:18 +0000 (11:44 +0000)] 
Fix undefined behaviour

Just use stat and opendir.  Fixes #228.

While here correct the error message.

5 years agoFix few typos in CMakeLists.txt
Petr Vaněk [Thu, 6 Feb 2020 10:28:34 +0000 (11:28 +0100)] 
Fix few typos in CMakeLists.txt

Signed-off-by: Petr Vaněk <pv@excello.cz>
5 years agoupdate description of HS_FLAG_SOM_LEFTMOST to eliminate ambiguity
Hong, Yang A [Thu, 16 Apr 2020 12:16:14 +0000 (12:16 +0000)] 
update description of HS_FLAG_SOM_LEFTMOST to eliminate ambiguity

5 years agoavoid crash in addLitExpression()
Hong, Yang A [Tue, 14 Apr 2020 09:36:46 +0000 (09:36 +0000)] 
avoid crash in addLitExpression()

fixes github issue #205

5 years agohscollider: fix UTF8 check for patterns
Wang Xiang W [Wed, 8 Apr 2020 15:26:05 +0000 (11:26 -0400)] 
hscollider: fix UTF8 check for patterns

5 years agosmallwrite: add report dedupe check
Wang Xiang W [Fri, 3 Apr 2020 16:08:10 +0000 (12:08 -0400)] 
smallwrite: add report dedupe check

5 years agoLimex: fix acceleration path analysis
Wang Xiang W [Wed, 18 Mar 2020 13:36:51 +0000 (09:36 -0400)] 
Limex: fix acceleration path analysis