G.E
00165e1d5a
stl'ed another.
2024-05-18 00:02:43 +03:00
g. economou
45de972f44
Merge branch 'develop' into wip-cppcheck271-part2
2024-05-17 11:08:09 +03:00
G.E
d78cfb922e
first batch of cppcheck disables and a few more stl-ifications,
...
involving use of accumulate() .
2024-05-16 23:01:17 +03:00
Konstantinos Margaritis
e39db866ce
Fix C-style casts
2024-05-16 12:03:42 +03:00
Konstantinos Margaritis
afd03a3d85
Merge pull request #279 from VectorCamp/bugfix/cppcheck-unreadVariable-others
...
Fix marked as done cppcheck warnings unreadVariable & others
2024-05-15 23:18:02 +03:00
Konstantinos Margaritis
4bb3f4445f
Fix unreadVariable warning
2024-05-15 17:05:50 +03:00
Konstantinos Margaritis
129df24422
Fix remaining marked as done const* cppcheck warnings
2024-05-15 10:52:31 +03:00
Konstantinos Margaritis
4bc1fa4367
Fix false positive constStatement warnings
2024-05-11 23:11:29 +03:00
g. economou
583e1d576a
Merge branch 'develop' into wip-isildur-g-cppcheck-47-48-58
2024-05-01 10:59:59 +03:00
G.E
98243a6a08
addressing 47 [constParameterReference],48 [constVariableReference],58
...
[constVariable]
2024-05-01 10:54:15 +03:00
Konstantinos Margaritis
fe89b434e8
Merge pull request #258 from isildur-g/wip-isildur-g-cppcheck1220
...
Wip cppcheck1220
2024-04-29 21:58:13 +03:00
G.E
68306ba75c
next batch for cppeheck, addressing syntaxError and
...
constParameterPointer
2024-04-24 17:32:09 +03:00
gtsoul-tech
501c8c217e
badBitmaskCheck
2024-04-24 15:50:55 +03:00
Konstantinos Margaritis
3ed0c593f4
Fix 'unqualified call to std::move' errors in clang 15+
2023-10-03 20:24:39 +03:00
Konstantinos Margaritis
f50cd70f93
clang 14 makes some test failed because val is uninitialized
2023-03-22 21:39:03 +02:00
Vectorcamp
28f8f30866
compile fixes for vsc port
2021-10-14 13:53:55 +03:00
Konstantinos Margaritis
5adbfc94b8
use STL make_unique, remove wrapper header, breaks C++17 compilation
2021-10-12 11:51:34 +03:00
Konstantinos Margaritis
3f35a2be37
replace push_back by emplace_back where possible
2021-10-12 11:51:33 +03:00
Konstantinos Margaritis
acb542a5be
prefetch works best when addresses are 64-byte aligned
2021-10-12 11:50:32 +03:00
Konstantinos Margaritis
68b92f338d
Revert "replace long macro and switch statement with function pointer array and branchless execution"
...
This reverts commit cc9dfed249 .
2021-10-12 11:50:32 +03:00
Konstantinos Margaritis
381ef41168
replace long macro and switch statement with function pointer array and branchless execution
2021-10-12 11:50:32 +03:00
Konstantinos Margaritis
1c1bca4f98
use correct function names for AVX512, fix build failure
2021-02-15 13:54:19 +02:00
Chang, Harry
e1706c435c
AVX512VBMI Fat Teddy.
2021-01-25 14:13:13 +02:00
Konstantinos Margaritis
ba4a83aee7
optimize get_conf_stride_1()
2021-01-25 12:13:35 +02:00
Konstantinos Margaritis
e0980c4532
replace andn() by explicit bitops and group loads/stores, gives ~1% gain
2021-01-25 12:13:35 +02:00
Konstantinos Margaritis
e830470028
borrow cache prefetching tricks from the Marvell port, seem to improve performance by 5-28%
2021-01-25 12:13:35 +02:00
Konstantinos Margaritis
90b167926e
clear zones array
2020-12-03 19:30:50 +02:00
Konstantinos Margaritis
1332ee3fdc
small optimization that was for some reason failing in ARM, should be faster anyway
2020-11-24 17:59:42 +02:00
Konstantinos Margaritis
8ef26f19fc
fix names, use own intrinsic instead of explicit _mm* ones
2020-09-23 11:51:21 +03:00
Konstantinos Margaritis
b0cf02fdc1
move andn helper function to bitutils.h
2020-09-22 12:17:27 +03:00
Chang, Harry
e665e959a0
Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy.
2020-05-25 13:47:53 +00:00
Chang, Harry
43204dda48
AVX512VBMI Teddy.
2020-05-25 13:47:53 +00:00
Hong, Yang A
23e5f06594
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.
2019-08-13 14:51:38 +08:00
Mostafa Nazari
92edc37c1f
BUGFIX: fix Numerical result out of range error
...
Fix Error errno=34, fix Numerical result out of range error
issue: https://github.com/intel/hyperscan/issues/155
2019-08-13 14:49:24 +08:00
Hong, Yang A
f68723a606
literal matching: separate path for pure literal patterns
2019-01-21 09:59:22 +08:00
Matthew Barr
5fc2c803a2
teddy: alignment decl should match defn
...
Spotted by coverity. #174512
2017-09-18 13:29:34 +10:00
Justin Viiret
85c8822dd1
fdr_compile: simplify lambda use
...
This was failing to compile on MSVC.
2017-09-18 13:29:33 +10:00
Justin Viiret
36136f1003
fdr_compile: don't do string copies in isSuffix
2017-09-18 13:26:05 +10:00
Justin Viiret
164e5a929f
fdr_compile: faster scoring code
2017-08-21 11:25:21 +10:00
Alex Coyte
41783fe912
more comments on hwlm/fdr's start parameter
2017-08-21 11:23:41 +10:00
Chang, Harry
404f739811
Compile dump of teddy's nibble masks and reinforcement table in fdr_dump.cpp
2017-08-21 11:18:43 +10:00
Chang, Harry
72d21a9acf
Refactored building reinforcement table at compile time and updated comments.
2017-08-21 11:14:59 +10:00
Chang, Harry
2b1d3383aa
replace "_avx2" with "_fat".
2017-08-21 11:14:59 +10:00
Chang, Harry
8da2d13baa
AVX512 Reinforced FAT teddy.
2017-08-21 11:14:59 +10:00
Justin Viiret
9cf66b6ac9
util: switch from Boost to std::unordered set/map
...
This commit replaces the ue2::unordered_{set,map} types with their STL
versions, with some new hashing utilities in util/hash.h. The new types
ue2_unordered_set<T> and ue2_unordered_map<Key, T> default to using the
ue2_hasher.
The header util/ue2_containers.h has been removed, and the flat_set/map
containers moved to util/flat_containers.h.
2017-08-21 11:14:55 +10:00
Wang, Xiang W
252eb820c4
ue-3145: make parents of included literals exclusive
2017-08-21 11:12:36 +10:00
Wang, Xiang W
86c5f7feb1
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.
2017-08-21 11:12:36 +10:00
Chang, Harry
d2b5523dd8
fix typo "ones_u32a" => "ones_u32"
2017-08-21 11:12:36 +10:00
Chang, Harry
68e08d8e18
AVX512 reinforced teddy.
2017-08-21 11:12:36 +10:00
Wang, Xiang W
67a8f43355
literal matchers: change context passed to callback to scratch
2017-08-21 11:12:36 +10:00