]>
git.ipfire.org Git - thirdparty/vectorscan.git/log
Konstantinos Margaritis [Thu, 4 Jul 2024 12:28:24 +0000 (15:28 +0300)]
initial attempt, all tests fail
g. economou [Wed, 26 Jun 2024 19:35:33 +0000 (22:35 +0300)]
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>
gtsoul-tech [Thu, 20 Jun 2024 11:57:19 +0000 (14:57 +0300)]
Bug fix/clang-tidy-performance (#300)
Various clang-tidy-performance fixes:
* noexcept
* performance-noexcept-swap
* performance
* performance-move-const-arg
* performance-unnecessary-value-param
* performance-inefficient-vector-operation
* performance-no-int-to-ptr
* add performance
* performance-inefficient-string-concatenation
* clang-analyzer-deadcode.DeadStores
* performance-inefficient-vector-operation
* clang-analyzer-core.NullDereference
* clang-analyzer-core.UndefinedBinaryOperatorResult
* clang-analyzer-core.CallAndMessage
---------
Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
gtsoul-tech [Tue, 11 Jun 2024 12:05:52 +0000 (15:05 +0300)]
Script for the clang-tidy CI (#299)
script to clang-tidy CI
Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
gtsoul-tech [Mon, 10 Jun 2024 07:08:54 +0000 (10:08 +0300)]
Bug fix/clang tidy warnings part3 (#298)
* clang-analyzer-deadcode.DeadStores
* clang-analyzer-optin.performance.Padding
---------
Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
gtsoul-tech [Fri, 7 Jun 2024 14:10:32 +0000 (17:10 +0300)]
Clang-tidy config (#297)
clang-tidy config
Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
gtsoul-tech [Tue, 4 Jun 2024 13:18:17 +0000 (16:18 +0300)]
Bug fix/clang tidy warnings part2 (#296)
* core.StackAddressEscape
* cplusplus.VirtualCall
* clang-analyzer-deadcode.DeadStores
* clang-analyzer-core.NullDereference
* clang-analyzer-core.NonNullParamChecker
* change to nolint
---------
Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
Konstantinos Margaritis [Fri, 31 May 2024 15:23:16 +0000 (18:23 +0300)]
Fix Clang Tidy warnings (#295)
Fixes some of the clang-tidy warnings
clang-analyzer-deadcode.DeadStores
clang-analyzer-cplusplus.NewDelete
clang-analyzer-core.uninitialized.UndefReturn
closes some:#253
ignored in this pr:
/usr/include/boost/smart_ptr/detail/shared_count.hpp:432:24
/usr/include/boost/smart_ptr/detail/shared_count.hpp:443:24
51 in build/src/parser
gtest ones
src/fdr/teddy_compile.cpp:600:5 refactoring on way
src/fdr/fdr_compile.cpp:209:5 refactoring on way
gtsoul-tech [Fri, 31 May 2024 07:34:55 +0000 (10:34 +0300)]
clang-analyzer-cplusplus.Move
gtsoul-tech [Fri, 31 May 2024 07:24:44 +0000 (10:24 +0300)]
clang-analyzer-core.uninitialized.UndefReturn
gtsoul-tech [Fri, 31 May 2024 06:47:45 +0000 (09:47 +0300)]
remove comment
Konstantinos Margaritis [Thu, 30 May 2024 14:24:14 +0000 (17:24 +0300)]
Fix Clang Tidy warning optin.performance.Padding (#293)
Fixes some optin.performance.Padding
closes some: #253
gtsoul-tech [Thu, 30 May 2024 13:40:55 +0000 (16:40 +0300)]
clang-analyzer-cplusplus.NewDelete
gtsoul-tech [Thu, 30 May 2024 13:40:47 +0000 (16:40 +0300)]
deadcode.DeadStores
gtsoul-tech [Thu, 30 May 2024 13:40:18 +0000 (16:40 +0300)]
deadcode.DeadStores
gtsoul-tech [Wed, 29 May 2024 08:51:06 +0000 (11:51 +0300)]
uninitialized.UndefReturn
gtsoul-tech [Tue, 28 May 2024 11:15:03 +0000 (14:15 +0300)]
cplusplus.Move
gtsoul-tech [Mon, 27 May 2024 12:41:57 +0000 (15:41 +0300)]
optin.performance.Padding
Konstantinos Margaritis [Mon, 27 May 2024 09:23:02 +0000 (12:23 +0300)]
Fix/Suppress remaining Cppcheck warnings (#291)
Fix/suppress the following cppcheck warnings:
* arithOperationsOnVoidPointer
* uninitMember
* const*
* shadowVariable
* assignmentIntegerToAddress
* containerOutOfBounds
* pointer-related warnings in Ragel source
* missingOverride
* memleak
* knownConditionTrueFalse
* noExplicitConstructor
* invalidPrintfArgType_sint
* useStlAlgorithm
* cstyleCast
* clarifyCondition
* VSX-related cstyleCast
* unsignedLessThanZero
Furthermore, we added a suppression list to be used, which also includes the following:
* missingIncludeSystem
* missingInclude
* unmatchedSuppression
Konstantinos Margaritis [Fri, 24 May 2024 20:24:58 +0000 (23:24 +0300)]
Part 5 of C-style cast cppcheck (#289)
Fixes some cstyleCasts part 5
closes some: #252
gtsoul-tech [Fri, 24 May 2024 07:12:15 +0000 (10:12 +0300)]
revert uniform cstyle suppress
Konstantinos Margaritis [Thu, 23 May 2024 06:38:24 +0000 (09:38 +0300)]
Speed up truffle with 256b TBL instructions (#290)
256b wide SVE vectors allow some simplification of truffle. Up to 40%
speedup on graviton3. Going from 12500 MB/s to 17000 MB/s onhe
microbenchmark.
SVE2 also offer this capability for 128b vector with a speedup around
25% compared to normal SVE
Add unit tests and benchmark for this wide variant
Yoan Picchi [Tue, 23 Apr 2024 12:04:40 +0000 (12:04 +0000)]
Speed up truffle with 256b TBL instructions
256b wide SVE vectors allow some simplification of truffle.
Up to 40% speedup on graviton3. Going from 12500 MB/s to 17000 MB/s
onhe microbenchmark.
SVE2 also offer this capability for 128b vector with a speedup around
25% compared to normal SVE
Add unit tests and benchmark for this wide variant
Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
gtsoul-tech [Wed, 22 May 2024 08:11:13 +0000 (11:11 +0300)]
cstylecast parser
gtsoul-tech [Wed, 22 May 2024 07:16:56 +0000 (10:16 +0300)]
cstylecasts and suppressions
Konstantinos Margaritis [Tue, 21 May 2024 20:43:04 +0000 (23:43 +0300)]
Merge pull request #288 from isildur-g/bugfix-assert
revert a change to assert
Konstantinos Margaritis [Tue, 21 May 2024 12:59:51 +0000 (15:59 +0300)]
Merge pull request #287 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part4
Part 4 of C-style cast cppcheck
Konstantinos Margaritis [Tue, 21 May 2024 12:52:15 +0000 (15:52 +0300)]
Merge pull request #283 from isildur-g/wip-cppcheck271-part2
Wip cppcheck271 useStlAlgorithm part2
G.E. [Mon, 20 May 2024 15:03:56 +0000 (18:03 +0300)]
revert a change to assert , the original logic might have been
subtely clever (or else totally useless all these years), when we
see which of the two we might delete that assert entirely. for now
put it back as it was.
gtsoul-tech [Mon, 20 May 2024 14:09:30 +0000 (17:09 +0300)]
cstylecasts suppress,fixes
G.E [Mon, 20 May 2024 13:35:58 +0000 (16:35 +0300)]
undo that one, it breaks
Konstantinos Margaritis [Mon, 20 May 2024 12:17:01 +0000 (15:17 +0300)]
Merge pull request #286 from VectorCamp/bugfix/cppcheck-fix-wrong-casts
Fix remaining C style casts and suppressions
gtsoul-tech [Mon, 20 May 2024 11:54:35 +0000 (14:54 +0300)]
fix cStyleCasts
Konstantinos Margaritis [Sat, 18 May 2024 19:52:17 +0000 (22:52 +0300)]
Fix typo
Konstantinos Margaritis [Sat, 18 May 2024 18:48:40 +0000 (21:48 +0300)]
Add more C style casts fixes and suppressions
Konstantinos Margaritis [Sat, 18 May 2024 18:47:47 +0000 (21:47 +0300)]
remove unneeded suppression
Konstantinos Margaritis [Sat, 18 May 2024 12:06:10 +0000 (15:06 +0300)]
Fix more C-style casts
Konstantinos Margaritis [Sat, 18 May 2024 11:58:11 +0000 (14:58 +0300)]
Fix casts
Konstantinos Margaritis [Sat, 18 May 2024 11:57:44 +0000 (14:57 +0300)]
Fix wrong comparison
Konstantinos Margaritis [Sat, 18 May 2024 11:56:30 +0000 (14:56 +0300)]
Fix wrong casts in pcapscan.cc
Konstantinos Margaritis [Sat, 18 May 2024 06:43:25 +0000 (09:43 +0300)]
Merge pull request #285 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part3
Part 3 of C-style cast cppcheck
Konstantinos Margaritis [Sat, 18 May 2024 06:41:50 +0000 (09:41 +0300)]
Merge pull request #284 from gtsoul-tech/bigFix/cppcheck-cStylecasts-Part2
Part 2 of C-style cast cppcheck
G.E [Fri, 17 May 2024 21:02:43 +0000 (00:02 +0300)]
stl'ed another.
G.E [Fri, 17 May 2024 20:27:42 +0000 (23:27 +0300)]
stl'ed another one
G.E [Fri, 17 May 2024 20:18:55 +0000 (23:18 +0300)]
stl'ed one more instance
gtsoul-tech [Fri, 17 May 2024 13:58:08 +0000 (16:58 +0300)]
cStyleCasts
gtsoul-tech [Fri, 17 May 2024 10:57:12 +0000 (13:57 +0300)]
cStyleCasts
G.E [Fri, 17 May 2024 08:27:43 +0000 (11:27 +0300)]
clean up comments
g. economou [Fri, 17 May 2024 08:08:09 +0000 (11:08 +0300)]
Merge branch 'develop' into wip-cppcheck271-part2
G.E [Fri, 17 May 2024 08:02:00 +0000 (11:02 +0300)]
last batch
G.E [Fri, 17 May 2024 07:44:28 +0000 (10:44 +0300)]
next batch
G.E [Thu, 16 May 2024 21:08:37 +0000 (00:08 +0300)]
next batch
Konstantinos Margaritis [Thu, 16 May 2024 20:14:45 +0000 (23:14 +0300)]
Merge pull request #281 from VectorCamp/bugfix/cppcheck-cstyleCasts-part1
Part 1 of C-style cast cppcheck fixes
G.E [Thu, 16 May 2024 20:01:17 +0000 (23:01 +0300)]
first batch of cppcheck disables and a few more stl-ifications,
involving use of accumulate() .
Konstantinos Margaritis [Thu, 16 May 2024 12:58:02 +0000 (15:58 +0300)]
add alternative macro without C casts to avoid Cppcheck warnings
Konstantinos Margaritis [Thu, 16 May 2024 12:57:39 +0000 (15:57 +0300)]
Fix C style casts in mcsheng_compile.cpp
Konstantinos Margaritis [Thu, 16 May 2024 12:41:22 +0000 (15:41 +0300)]
Merge pull request #280 from isildur-g/bugfix-rose-segfault
the segfault we ran into, included_frag_id should be
Konstantinos Margaritis [Thu, 16 May 2024 10:06:28 +0000 (13:06 +0300)]
Fix wrong cast in aligned_free()
Konstantinos Margaritis [Wed, 15 May 2024 20:22:39 +0000 (23:22 +0300)]
Fix C-style casts
g. economou [Thu, 16 May 2024 06:57:58 +0000 (09:57 +0300)]
Merge branch 'develop' into bugfix-rose-segfault
G.E [Thu, 16 May 2024 06:53:03 +0000 (09:53 +0300)]
the segfault we ran into, included_frag_id should be
included_delay_frag_id.
Konstantinos Margaritis [Wed, 15 May 2024 20:18:02 +0000 (23:18 +0300)]
Merge pull request #279 from VectorCamp/bugfix/cppcheck-unreadVariable-others
Fix marked as done cppcheck warnings unreadVariable & others
Konstantinos Margaritis [Wed, 15 May 2024 14:54:27 +0000 (17:54 +0300)]
Merge pull request #278 from VectorCamp/bugfix/cppcheck-remaining-const-warnings
Fix remaining marked as done const* cppcheck warnings
Konstantinos Margaritis [Wed, 15 May 2024 14:18:53 +0000 (17:18 +0300)]
remove unused variables
Konstantinos Margaritis [Wed, 15 May 2024 14:11:07 +0000 (17:11 +0300)]
another duplicateExpression false positive
Konstantinos Margaritis [Wed, 15 May 2024 14:05:50 +0000 (17:05 +0300)]
Fix unreadVariable warning
Konstantinos Margaritis [Wed, 15 May 2024 14:05:22 +0000 (17:05 +0300)]
Fix missingOverride
Konstantinos Margaritis [Wed, 15 May 2024 14:04:50 +0000 (17:04 +0300)]
Fix unknownMacro
Konstantinos Margaritis [Wed, 15 May 2024 14:01:31 +0000 (17:01 +0300)]
Fix variableScope
Konstantinos Margaritis [Wed, 15 May 2024 14:01:02 +0000 (17:01 +0300)]
False positive knownConditionTrueFalse
Konstantinos Margaritis [Wed, 15 May 2024 14:00:28 +0000 (17:00 +0300)]
False positives duplicateExpression
Konstantinos Margaritis [Wed, 15 May 2024 07:52:31 +0000 (10:52 +0300)]
Fix remaining marked as done const* cppcheck warnings
Konstantinos Margaritis [Wed, 15 May 2024 07:44:15 +0000 (10:44 +0300)]
Merge pull request #277 from isildur-g/wip-cppcheck271
phase 1 of addressing cppcheck useStlAlgorithm warnings for fill and copy operations
Konstantinos Margaritis [Tue, 14 May 2024 16:52:01 +0000 (19:52 +0300)]
Merge pull request #276 from gtsoul-tech/bugFix/cppcheck-noExplicitConstructor-part2
Bug fix/cppcheck no explicit constructor part2
G.E [Tue, 14 May 2024 14:37:38 +0000 (17:37 +0300)]
phase 1 of addressing cppcheck useStlAlgorithm warnings,
this set only includes fill and copy operations.
gtsoul-tech [Tue, 14 May 2024 11:15:15 +0000 (14:15 +0300)]
supervector conversion
gtsoul-tech [Tue, 14 May 2024 11:10:56 +0000 (14:10 +0300)]
forgot some conversions SuperVector<32>
gtsoul-tech [Tue, 14 May 2024 10:32:50 +0000 (13:32 +0300)]
explicit constructor Supervector
gtsoul-tech [Tue, 14 May 2024 07:11:52 +0000 (10:11 +0300)]
ppc64el supervector explicit constructor
gtsoul-tech [Tue, 14 May 2024 06:53:08 +0000 (09:53 +0300)]
arm supervector explicit constructor
gtsoul-tech [Tue, 14 May 2024 06:28:13 +0000 (09:28 +0300)]
x86 explicit constructor supervector
Konstantinos Margaritis [Mon, 13 May 2024 18:52:55 +0000 (21:52 +0300)]
Merge pull request #274 from gtsoul-tech/bugFix/cppcheckError-noexplicitConstructor
Bug fix/cppcheck error noexplicitconstructor
gtsoul-tech [Mon, 13 May 2024 11:24:16 +0000 (14:24 +0300)]
most ptr.get() conversion
gtsoul-tech [Mon, 13 May 2024 10:04:57 +0000 (13:04 +0300)]
fixes left_id and suffix_id
gtsoul-tech [Mon, 13 May 2024 09:41:40 +0000 (12:41 +0300)]
more fixes
gtsoul-tech [Mon, 13 May 2024 08:03:27 +0000 (11:03 +0300)]
fix conversions
Konstantinos Margaritis [Mon, 13 May 2024 07:42:23 +0000 (10:42 +0300)]
Merge pull request #267 from VectorCamp/bugfix/cppcheck-rose_build_scatter-uselessAssignmentArg
Fix marked as false positive uselessAssignmentArg cppcheck warning
Konstantinos Margaritis [Mon, 13 May 2024 07:26:38 +0000 (10:26 +0300)]
Merge pull request #268 from VectorCamp/bugfix/cppcheck-constStatement
Fix marked as false positive constStatement cppcheck warnings
Konstantinos Margaritis [Mon, 13 May 2024 07:26:25 +0000 (10:26 +0300)]
Merge pull request #269 from VectorCamp/bugfix/cppcheck-duplicateAssignment
Fix marked as false positive duplicateAssignExpression cppcheck warnings
Konstantinos Margaritis [Mon, 13 May 2024 07:25:53 +0000 (10:25 +0300)]
Merge pull request #270 from VectorCamp/bugfix/cppcheck-redundantAssignment
Fix marked as false positive redundantAssignment cppcheck warnings
Konstantinos Margaritis [Mon, 13 May 2024 07:25:34 +0000 (10:25 +0300)]
Merge pull request #271 from VectorCamp/bugfix/cppcheck-identicalConditionAfterEarlyExit
Fix marked as false positive identicalConditionAfterEarlyExit cppcheck warnings
Konstantinos Margaritis [Mon, 13 May 2024 07:13:45 +0000 (10:13 +0300)]
Merge pull request #272 from VectorCamp/bugfix/cppcheck-truncLongCastAssignment
Fix marked as false positive truncLongCastAssignment cppcheck warnings
Konstantinos Margaritis [Mon, 13 May 2024 07:13:22 +0000 (10:13 +0300)]
Merge pull request #273 from VectorCamp/bugfix/cppcheck-knownConditionTrueFalse
Fix marked as false positive knownConditionTrueFalse cppcheck warnings
gtsoul-tech [Mon, 13 May 2024 06:52:42 +0000 (09:52 +0300)]
revert supervector
gtsoul-tech [Mon, 13 May 2024 06:29:40 +0000 (09:29 +0300)]
fix
gtsoul-tech [Mon, 13 May 2024 06:13:28 +0000 (09:13 +0300)]
Merge branch 'develop' into bugFix/cppcheckError-noexplicitConstructor
Konstantinos Margaritis [Sun, 12 May 2024 17:25:29 +0000 (20:25 +0300)]
nodes is never empty at this stage, emplace_back() is called just previously
Konstantinos Margaritis [Sun, 12 May 2024 15:40:51 +0000 (18:40 +0300)]
Fix marked as false positive knownConditionTrueFalse cppcheck warnings
std::make_shared<> does not return null, it throws std::bad_alloc.
Konstantinos Margaritis [Sun, 12 May 2024 14:22:12 +0000 (17:22 +0300)]
Fix false positive truncLongCastAssignment warnings
Konstantinos Margaritis [Sat, 11 May 2024 21:05:45 +0000 (00:05 +0300)]
Fix false positive /identicalConditionAfterEarlyExit warnings