2154 Commits

Author SHA1 Message Date
G.E.
616864334b removed superfluous comments 2024-07-10 14:19:54 +03:00
G.E.
acc121976d silence a bogus cppcheck warning 2024-07-10 14:15:08 +03:00
G.E.
01ad353881 maybe fixed now 2024-07-10 10:37:11 +03:00
G.E.
06f0fdd68d still working on the last test 2024-07-10 10:06:25 +03:00
G.E.
0711123f12 should fix the last failing test in non-fat 2024-07-10 09:54:59 +03:00
G.E.
5a34d8140b should fix it for fat binaries 2024-07-10 03:30:14 +03:00
G.E.
317f882cda check_sse2 2024-07-09 17:16:53 +03:00
G.E.
9b70ececca one more fix for dispatch 2024-07-09 00:20:54 +03:00
G.E.
0bebd2553d fixed some broken config combinations 2024-07-08 21:00:33 +03:00
G.E.
86b3efa048 fixed small mistake 2024-07-04 21:33:18 +03:00
g. economou
a72c907b59
Merge branch 'bugfix/bug204' into simde-sse2 2024-07-04 17:49:07 +03:00
G.E.
951b413ad1 building non-fat as well 2024-07-04 17:41:44 +03:00
G.E.
a32efe9d1f adding some bits for non-fat binaries 2024-07-04 17:24:22 +03:00
G.E.
c0b57cd103 controlling this with a flag now 2024-07-04 17:13:55 +03:00
G.E.
60a7d8126f removed a couple more redundant lines 2024-07-04 17:02:16 +03:00
G.E.
887d119c7f cleaned some more commented out junk 2024-07-04 16:47:52 +03:00
G.E.
33023109d1 forgot an endif 2024-07-04 16:45:45 +03:00
G.E.
aad0dab9bd undoing the intrinsics changes 2024-07-04 16:44:57 +03:00
G.E.
40c33fd251 same 2024-07-04 16:43:42 +03:00
G.E.
82fde6aad1 still not sure if this actually uses simde or not 2024-07-04 16:41:45 +03:00
Konstantinos Margaritis
3b08633b65 initial attempt, all tests fail 2024-07-04 15:28:24 +03:00
G.E.
bb99b4ead1 saving whatever this is now, still not working.. 2024-07-04 14:32:00 +03:00
G.E
aded8f1a5f trying this on the vm's 2024-07-04 00:26:30 +03:00
g. economou
aa832db892
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>
2024-06-26 22:35:33 +03:00
gtsoul-tech
0f4369bf22
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>
2024-06-20 14:57:19 +03:00
gtsoul-tech
0e0c9f8c63
Script for the clang-tidy CI (#299)
script to clang-tidy CI

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
2024-06-11 15:05:52 +03:00
gtsoul-tech
a68845c82b
Bug fix/clang tidy warnings part3 (#298)
* clang-analyzer-deadcode.DeadStores

* clang-analyzer-optin.performance.Padding

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
2024-06-10 10:08:54 +03:00
gtsoul-tech
834a329daa
Clang-tidy config (#297)
clang-tidy config

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
2024-06-07 17:10:32 +03:00
gtsoul-tech
8fc1a7efff
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>
2024-06-04 16:18:17 +03:00
Konstantinos Margaritis
4113a1f150
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
2024-05-31 18:23:16 +03:00
gtsoul-tech
9987ecd4a0 clang-analyzer-cplusplus.Move 2024-05-31 10:34:55 +03:00
gtsoul-tech
00a5ff1c67 clang-analyzer-core.uninitialized.UndefReturn 2024-05-31 10:24:44 +03:00
gtsoul-tech
e36203c323 remove comment 2024-05-31 09:47:45 +03:00
Konstantinos Margaritis
85ffb2b2f1
Fix Clang Tidy warning optin.performance.Padding (#293)
Fixes some optin.performance.Padding

closes some: #253
2024-05-30 17:24:14 +03:00
gtsoul-tech
c5c4c5d5f5 clang-analyzer-cplusplus.NewDelete 2024-05-30 16:40:55 +03:00
gtsoul-tech
9c0beb57f8 deadcode.DeadStores 2024-05-30 16:40:47 +03:00
gtsoul-tech
de1697b467 deadcode.DeadStores 2024-05-30 16:40:18 +03:00
gtsoul-tech
faa9e7549f uninitialized.UndefReturn 2024-05-29 11:51:06 +03:00
gtsoul-tech
d23e4a12e7 cplusplus.Move 2024-05-28 14:15:03 +03:00
gtsoul-tech
aa6acaec84 optin.performance.Padding 2024-05-27 15:41:57 +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
Konstantinos Margaritis
cebc6541c1
Part 5 of C-style cast cppcheck (#289)
Fixes some cstyleCasts part 5

closes some: #252
2024-05-24 23:24:58 +03:00
gtsoul-tech
16467faf2b revert uniform cstyle suppress 2024-05-24 10:12:15 +03:00
Konstantinos Margaritis
0e271ccf9a
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
2024-05-23 09:38:24 +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
gtsoul-tech
af39f77461 cstylecast parser 2024-05-22 11:11:13 +03:00
gtsoul-tech
94eff4aa60 cstylecasts and suppressions 2024-05-22 10:16:56 +03: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