]>
git.ipfire.org Git - thirdparty/vectorscan.git/log
Konstantinos Margaritis [Tue, 8 Dec 2020 09:42:30 +0000 (11:42 +0200)]
fix x86 compilation
Konstantinos Margaritis [Mon, 7 Dec 2020 21:12:41 +0000 (23:12 +0200)]
remove forgotten printf
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()
Konstantinos Margaritis [Thu, 3 Dec 2020 17:30:50 +0000 (19:30 +0200)]
clear zones array
Konstantinos Margaritis [Thu, 3 Dec 2020 17:27:58 +0000 (19:27 +0200)]
add ARM platform
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
Konstantinos Margaritis [Thu, 3 Dec 2020 17:27:05 +0000 (19:27 +0200)]
define debug vector print functions to NULL in non-debug mode
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
Konstantinos Margaritis [Tue, 24 Nov 2020 15:57:16 +0000 (17:57 +0200)]
helper functions to print a m128 vector in debug mode
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
Konstantinos Margaritis [Tue, 24 Nov 2020 15:55:03 +0000 (17:55 +0200)]
fix compiler flag testcase
Konstantinos Margaritis [Thu, 5 Nov 2020 18:33:17 +0000 (20:33 +0200)]
remove debug from functions
Konstantinos Margaritis [Thu, 5 Nov 2020 17:21:16 +0000 (19:21 +0200)]
add some debug and minor optimizations in unit test
Konstantinos Margaritis [Thu, 5 Nov 2020 17:20:37 +0000 (19:20 +0200)]
add some debug info
Konstantinos Margaritis [Thu, 5 Nov 2020 17:20:06 +0000 (19:20 +0200)]
add compress128 function and implementation
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
Konstantinos Margaritis [Thu, 5 Nov 2020 15:31:20 +0000 (17:31 +0200)]
fix 32-bit/64-bit detection
Konstantinos Margaritis [Fri, 30 Oct 2020 08:50:24 +0000 (10:50 +0200)]
needed for ARM vector type conversions
Konstantinos Margaritis [Fri, 30 Oct 2020 08:49:50 +0000 (10:49 +0200)]
small optimization in storecompress*()
Konstantinos Margaritis [Fri, 30 Oct 2020 08:38:41 +0000 (10:38 +0200)]
fix ARM implementations
Konstantinos Margaritis [Fri, 30 Oct 2020 08:38:05 +0000 (10:38 +0200)]
don't use SSE directly in the tests
Konstantinos Margaritis [Fri, 16 Oct 2020 10:09:08 +0000 (13:09 +0300)]
don't redefine function on x86
Konstantinos Margaritis [Fri, 16 Oct 2020 10:02:40 +0000 (13:02 +0300)]
scalar implementations of diffrich256 and diffrich384
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 .
Konstantinos Margaritis [Fri, 16 Oct 2020 09:30:34 +0000 (12:30 +0300)]
split arch-agnostic simd_utils.h functions into the common file
Konstantinos Margaritis [Fri, 16 Oct 2020 09:29:45 +0000 (12:29 +0300)]
fix compilation paths for cpuid_flags for x86
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
Konstantinos Margaritis [Thu, 15 Oct 2020 13:26:49 +0000 (16:26 +0300)]
add ARM simd_utils vectorized functions for 128-bit vectors
Konstantinos Margaritis [Thu, 15 Oct 2020 13:25:29 +0000 (16:25 +0300)]
add arm simple cpuid_flags
Konstantinos Margaritis [Tue, 13 Oct 2020 06:19:56 +0000 (09:19 +0300)]
add ARM version of simd_utils.h
Konstantinos Margaritis [Thu, 8 Oct 2020 17:50:55 +0000 (20:50 +0300)]
add arm bitutils.h header
Konstantinos Margaritis [Thu, 8 Oct 2020 17:50:18 +0000 (20:50 +0300)]
add C implementation of pdep64()
Konstantinos Margaritis [Thu, 8 Oct 2020 17:48:20 +0000 (20:48 +0300)]
move cpuid_flags.h header to common
Konstantinos Margaritis [Wed, 7 Oct 2020 11:28:45 +0000 (14:28 +0300)]
use C implementation of popcount for arm
Konstantinos Margaritis [Wed, 7 Oct 2020 11:28:12 +0000 (14:28 +0300)]
add arm architecture basic defines
Konstantinos Margaritis [Wed, 7 Oct 2020 11:26:41 +0000 (14:26 +0300)]
minor fix
Konstantinos Margaritis [Tue, 6 Oct 2020 10:45:52 +0000 (13:45 +0300)]
use right intrinsic
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
Konstantinos Margaritis [Tue, 6 Oct 2020 05:09:18 +0000 (08:09 +0300)]
add arm checks in platform.cmake
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 .
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 .
Konstantinos Margaritis [Wed, 23 Sep 2020 08:51:21 +0000 (11:51 +0300)]
fix names, use own intrinsic instead of explicit _mm* ones
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
Konstantinos Margaritis [Tue, 22 Sep 2020 10:12:07 +0000 (13:12 +0300)]
move x86 implementations of simd_utils.h to util/arch/x86/
Konstantinos Margaritis [Tue, 22 Sep 2020 10:10:52 +0000 (13:10 +0300)]
no need to check for WIN32*
Konstantinos Margaritis [Tue, 22 Sep 2020 09:17:27 +0000 (12:17 +0300)]
move andn helper function to bitutils.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
Konstantinos Margaritis [Tue, 22 Sep 2020 08:02:07 +0000 (11:02 +0300)]
move x86 bitutils.h implementations to util/arch/x86/bitutils.h
Konstantinos Margaritis [Fri, 18 Sep 2020 09:55:57 +0000 (12:55 +0300)]
fix include paths for masked_move
Konstantinos Margaritis [Fri, 18 Sep 2020 09:51:39 +0000 (12:51 +0300)]
move masked_move* AVX2 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
Konstantinos Margaritis [Thu, 17 Sep 2020 17:35:39 +0000 (20:35 +0300)]
move cpuid stuff to util/arch/x86
Konstantinos Margaritis [Thu, 17 Sep 2020 16:00:48 +0000 (19:00 +0300)]
move x86 arch and SIMD types to x86 arch folder
Hong, Yang A [Mon, 25 May 2020 14:30:57 +0000 (14:30 +0000)]
Merge branch 'github_develop' into github_master
Hong, Yang A [Fri, 8 May 2020 14:34:28 +0000 (14:34 +0000)]
Bump version number for release
Hong, Yang A [Tue, 19 May 2020 09:49:19 +0000 (09:49 +0000)]
changelog: updates for 5.3.0 release
Hong, Yang A [Mon, 25 May 2020 14:22:18 +0000 (14:22 +0000)]
tools/fuzz: add test scripts for synthetic pattern generation.
Hong, Yang A [Mon, 18 May 2020 20:08:20 +0000 (20:08 +0000)]
gcc-10: fix hyperscan compile issue
Fixes github issue #239
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
Hong, Yang A [Tue, 28 Apr 2020 10:15:40 +0000 (10:15 +0000)]
add AVX512 support for vermicelli model
Hong, Yang A [Tue, 28 Apr 2020 10:14:55 +0000 (10:14 +0000)]
hsbench: add hyphen support for -T option
Hong, Yang A [Mon, 20 Apr 2020 13:05:37 +0000 (13:05 +0000)]
add Hyperscan version marcro in public header
Chang, Harry [Tue, 14 Apr 2020 07:56:31 +0000 (15:56 +0800)]
Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy.
Chang, Harry [Tue, 5 Nov 2019 13:19:38 +0000 (21:19 +0800)]
AVX512VBMI Teddy.
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.
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>
Hong, Yang A [Thu, 16 Apr 2020 12:16:14 +0000 (12:16 +0000)]
update description of HS_FLAG_SOM_LEFTMOST to eliminate ambiguity
Hong, Yang A [Tue, 14 Apr 2020 09:36:46 +0000 (09:36 +0000)]
avoid crash in addLitExpression()
fixes github issue #205
Wang Xiang W [Wed, 8 Apr 2020 15:26:05 +0000 (11:26 -0400)]
hscollider: fix UTF8 check for patterns
Wang Xiang W [Fri, 3 Apr 2020 16:08:10 +0000 (12:08 -0400)]
smallwrite: add report dedupe check
Wang Xiang W [Wed, 18 Mar 2020 13:36:51 +0000 (09:36 -0400)]
Limex: fix acceleration path analysis
Wang Xiang W [Fri, 6 Mar 2020 08:24:07 +0000 (03:24 -0500)]
Noodle: avoid an extra convert instruction
fixes github issue #221
Wang Xiang W [Mon, 17 Feb 2020 09:41:36 +0000 (04:41 -0500)]
gcc-9: fix CMake parsing of CPU architecture for non-English locale
Fixes github issue #217
Nan Xiao [Tue, 7 Jan 2020 01:52:46 +0000 (09:52 +0800)]
Processing VLAN packets in pcapCorpus.py
Signed-off-by: Nan Xiao <xiaonan830818@gmail.com>
Hong, Yang A [Mon, 6 Jan 2020 15:32:37 +0000 (15:32 +0000)]
Cyclic redundancy: change DFS termination condition into successors of cyclic vertex
Dmitry Yakovenko [Sat, 11 Jan 2020 21:35:37 +0000 (00:35 +0300)]
Fix platform compatibility check
flip111 [Fri, 29 Nov 2019 14:59:42 +0000 (15:59 +0100)]
Update compilation.rst
fixed two spelling mistakes
Pavel Shlyak [Sun, 18 Aug 2019 21:50:03 +0000 (00:50 +0300)]
A tiny cleanup
Frank Wessels [Thu, 1 Aug 2019 20:47:54 +0000 (13:47 -0700)]
Fix small typo
Hong, Yang A [Wed, 30 Oct 2019 15:23:56 +0000 (15:23 +0000)]
Merge branch 'github_develop' into github_master
Hong, Yang A [Mon, 14 Oct 2019 13:02:26 +0000 (13:02 +0000)]
Bump version number for release
Hong, Yang A [Mon, 14 Oct 2019 12:56:01 +0000 (12:56 +0000)]
changelog: updates for 5.2.1 release
Hong, Yang A [Thu, 22 Aug 2019 13:54:54 +0000 (21:54 +0800)]
tools: fix compile issue for RELEASE_BUILD code
Fixes github issue #186
Wang, Xiang W [Thu, 5 Sep 2019 12:16:08 +0000 (08:16 -0400)]
gcc-9:disable redundant move check for older compiler versions
Chang, Harry [Fri, 23 Aug 2019 02:50:22 +0000 (10:50 +0800)]
Doc changes in "pure negative" logical combination support.
Chang, Harry [Tue, 13 Aug 2019 06:56:02 +0000 (14:56 +0800)]
Merge branch develop to master
Hong, Yang A [Fri, 12 Jul 2019 15:01:00 +0000 (23:01 +0800)]
Bump version number for release
Hong, Yang A [Fri, 12 Jul 2019 14:55:44 +0000 (22:55 +0800)]
changelog: updates for 5.2.0 release
Bobby Martin [Wed, 27 Mar 2019 16:52:00 +0000 (09:52 -0700)]
Add windows DLL support
(with AVX2 flag removed currently)
Wang, Xiang W [Wed, 10 Jul 2019 00:18:42 +0000 (20:18 -0400)]
Scratch: fix scratch free issue when memory allocation fails
Fixes github issue #174
Wang, Xiang W [Wed, 3 Jul 2019 03:37:21 +0000 (23:37 -0400)]
Chimera: don't disable single match flag when checking Hyperscan support
Hong, Yang A [Wed, 17 Jul 2019 15:45:59 +0000 (23:45 +0800)]
Literal API: update dev-reference
Hong, Yang A [Wed, 17 Jul 2019 16:29:27 +0000 (00:29 +0800)]
add new Literal API for pure literal expressions:
Design compile time api hs_compile_lit() and hs_compile_lit_multi()
to handle pure literal pattern sets. Corresponding option --literal-on
is added for hyperscan testing suites. Extended parameters and part of
flags are not supported for this api.
Chang, Harry [Thu, 20 Jun 2019 00:59:18 +0000 (08:59 +0800)]
Do not free stream unless hs_close_stream returns success.
(by unit-hyperscan HyperscanArgChecks.CloseStreamNoScratch)
Chang, Harry [Sun, 31 Mar 2019 03:16:50 +0000 (11:16 +0800)]
Logical combination: add purely negative match at EOD unit test
MultiCombPurelyNegativeUniSubEOD6.
Chang, Harry [Fri, 7 Jun 2019 03:38:37 +0000 (11:38 +0800)]
Logical combination: add streaming mode unit test MultiCombStream1.
Chang, Harry [Thu, 6 Jun 2019 07:12:24 +0000 (15:12 +0800)]
Logical Combination: avoid corruption of pending combination report
in streaming mode.
Fixes github issue #165
Chang, Harry [Wed, 27 Mar 2019 07:19:14 +0000 (15:19 +0800)]
Logical combination: support EOD match from purely negative case.
Carlo Marcelo Arenas Belón [Mon, 3 Jun 2019 22:32:38 +0000 (15:32 -0700)]
tools: hscollider FTBS in alpine linux
alpine uses musl instead of glibc and therefore doesn't have backtrace()
as part of its libc.
POSIX mandates that _exit() be defined through unistd.h which used to be
included together with execinfo.h when backtrace() was detected and
therefore it happened to build fine for linux or freebsd (when using
libexecinfo from the system or ports).
since there was a macro already defined to test for unistd.h use that
instead and decouple this dependency, so that the code could be built
even when no backtrace() is provided (as expected also in OpenBSD)
Carlo Marcelo Arenas Belón [Thu, 30 May 2019 18:31:29 +0000 (11:31 -0700)]
unit: avoid UB by making integer literal explicitally unsigned
reported by cppcheck as:
[unit/internal/uniform_ops.cpp:78]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[unit/internal/uniform_ops.cpp:109]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[unit/internal/uniform_ops.cpp:127]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[unit/internal/uniform_ops.cpp:145]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour