500 Commits

Author SHA1 Message Date
gtsoul-tech
de1697b467 deadcode.DeadStores 2024-05-30 16:40:18 +03:00
Konstantinos Margaritis
c837925087
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
2024-05-27 12:23:02 +03:00
Yoan Picchi
938c026256 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>
2024-05-22 16:13:53 +00:00
Konstantinos Margaritis
b312112e87
Merge pull request #288 from isildur-g/bugfix-assert
revert a change to assert
2024-05-21 23:43:04 +03:00
Konstantinos Margaritis
fd46b72a18
Merge pull request #287 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part4
Part 4 of C-style cast cppcheck
2024-05-21 15:59:51 +03:00
Konstantinos Margaritis
2ec64b6f07
Merge pull request #283 from isildur-g/wip-cppcheck271-part2
Wip cppcheck271 useStlAlgorithm part2
2024-05-21 15:52:15 +03:00
G.E.
82067fd526 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.
2024-05-20 18:03:56 +03:00
gtsoul-tech
dfa72ffd50 cstylecasts suppress,fixes 2024-05-20 17:09:30 +03:00
Konstantinos Margaritis
14deb313c1 Fix wrong comparison 2024-05-18 14:57:44 +03:00
Konstantinos Margaritis
cffe5095da
Merge pull request #284 from gtsoul-tech/bigFix/cppcheck-cStylecasts-Part2
Part 2 of C-style cast cppcheck
2024-05-18 09:41:50 +03:00
gtsoul-tech
2fa06dd9ed cStyleCasts 2024-05-17 13:57:12 +03:00
g. economou
22c3e3da6e
Merge branch 'develop' into wip-cppcheck271-part2 2024-05-17 11:08:09 +03:00
G.E
f2cecfd0e2 next batch 2024-05-17 10:44:28 +03:00
G.E
c482c05fa8 next batch 2024-05-17 00:08:37 +03:00
g. economou
b03699fade
Merge branch 'develop' into bugfix-rose-segfault 2024-05-16 09:57:58 +03:00
G.E
d653822a82 the segfault we ran into, included_frag_id should be
included_delay_frag_id.
2024-05-16 09:53:03 +03:00
Konstantinos Margaritis
db92a42681
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
6d6d4e1013 Fix unreadVariable warning 2024-05-15 17:05:50 +03:00
Konstantinos Margaritis
1d4a2b2b60 Fix variableScope 2024-05-15 17:04:11 +03:00
Konstantinos Margaritis
22166ed948 Fix remaining marked as done const* cppcheck warnings 2024-05-15 10:52:31 +03:00
Konstantinos Margaritis
a255600773
Merge pull request #277 from isildur-g/wip-cppcheck271
phase 1 of addressing cppcheck useStlAlgorithm warnings for fill and copy operations
2024-05-15 10:44:15 +03:00
G.E
4cefba5ced phase 1 of addressing cppcheck useStlAlgorithm warnings,
this set only includes fill and copy operations.
2024-05-14 17:37:38 +03:00
Konstantinos Margaritis
96aca187bd
Merge pull request #274 from gtsoul-tech/bugFix/cppcheckError-noexplicitConstructor
Bug fix/cppcheck error noexplicitconstructor
2024-05-13 21:52:55 +03:00
gtsoul-tech
9798b57f9e most ptr.get() conversion 2024-05-13 14:24:16 +03:00
gtsoul-tech
fc272868b8 fixes left_id and suffix_id 2024-05-13 13:04:57 +03:00
gtsoul-tech
0b8e863282 more fixes 2024-05-13 12:41:40 +03:00
Konstantinos Margaritis
d2d8a0bbde
Merge pull request #267 from VectorCamp/bugfix/cppcheck-rose_build_scatter-uselessAssignmentArg
Fix marked as false positive uselessAssignmentArg cppcheck warning
2024-05-13 10:42:23 +03:00
gtsoul-tech
2fa7eaded4 fix 2024-05-13 09:29:40 +03:00
gtsoul-tech
5affdf3a11 Merge branch 'develop' into bugFix/cppcheckError-noexplicitConstructor 2024-05-13 09:13:28 +03:00
Konstantinos Margaritis
a1fbe84660 Fix marked as false positive knownConditionTrueFalse cppcheck warnings
std::make_shared<> does not return null, it throws std::bad_alloc.
2024-05-12 20:24:00 +03:00
Konstantinos Margaritis
a2e66e31d2 replace memcpy with std::copy 2024-05-11 18:47:00 +03:00
Konstantinos Margaritis
0f61853a37 Fix false positive uselessAssignmentArg cppcheck warning
(also at the same time some cstyleCast warnings)
2024-05-11 17:59:46 +03:00
gtsoul-tech
753c7de002 Merge branch 'develop' into test-noExplicitConstructor 2024-05-10 12:46:44 +03:00
gtsoul-tech
94b17ecaf2 noExplicitConstructor 2024-05-10 10:07:47 +03:00
G.E
4ff92f87d9 remove test comment 2024-05-09 15:12:02 +03:00
g. economou
cc63087d06
Merge branch 'develop' into wip-isildur-g-cppcheck66 2024-05-09 10:28:25 +03:00
G.E
8499055605 test comment 2024-05-09 00:12:30 +03:00
G.E
c38bb8bc1d one more fixed that had been missed. 2024-05-08 12:33:22 +03:00
Konstantinos Margaritis
7dd2135b80
Merge pull request #264 from gtsoul-tech/bugFix/cppcheck-constVariablePointer
Cppcheck constVariablePointer error
2024-05-08 10:28:24 +03:00
G.E
82cf36724e maybe fix broken merge 2024-05-05 18:26:20 +03:00
G.E
bb056ab63f just a dummy commit to test something 2024-05-05 12:11:17 +03:00
g. economou
13e5183be2
Merge branch 'develop' into wip-isildur-g-cppcheck66 2024-05-02 18:37:46 +03:00
G.E
c7f7d17ebc addressing cppcheck shadowFunction warnings 2024-05-02 18:00:03 +03:00
Konstantinos Margaritis
692a63c8ca
Merge pull request #263 from gtsoul-tech/bug/cppcheck-61
Cppcheck knownConditionTrueFalse error
2024-05-02 16:50:16 +03:00
gtsoul-tech
5ad1f2127f constVariablePointer 2024-05-02 14:30:18 +03:00
gtsoul-tech
a634d57b2d knownConditionTrueFalse fixes previously fp 2024-05-02 10:13:55 +03:00
gtsoul-tech
389b55c647 refactor bool to void setDistinctTops setDistinctRoseTops
setDistinctSuffixTops
2024-05-01 15:21:36 +03:00
gtsoul-tech
ea420114a7 knownConditionTrueFalse 2024-05-01 13:04:51 +03:00
G.E
d3dd448641 the merge got screwed up, this should fix it 2024-05-01 11:22:32 +03:00
g. economou
727cff3621
Merge branch 'develop' into wip-isildur-g-cppcheck-47-48-58 2024-05-01 10:59:59 +03:00