Commit Graph

1462 Commits

Author SHA1 Message Date
Konstantinos Margaritis
bfc4276453 Merge pull request #259 from gtsoul-tech/bug/cppcheckErrors
Bug/cppcheck errors (32,35) WIP
2024-04-30 10:27:47 +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
gtsoul-tech
e22fe382ea new variableScope 2024-04-29 15:09:55 +03:00
G.E
5f94045a07 fixed const adjustments. 2024-04-29 13:38:35 +03:00
gtsoul-tech
a2060bf504 variableScopeFix 2024-04-29 13:28:16 +03:00
gtsoul-tech
9df8527e91 variableScope 2024-04-29 13:13:07 +03:00
G.E
08eac52e99 ome of the consts couldnt be propagated and had to be reverted 2024-04-29 12:39:28 +03:00
Yoan Picchi
b839bc3033 Enable sheng32 and sheng64 on Arm
Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
2024-04-25 13:00:54 +00:00
Konstantinos Margaritis
b4bb1b3b2c Merge pull request #256 from gtsoul-tech/bug/cppcheckErrors
Bug/cppcheck errors (3 ,4 ,7 ,10,11) WIP
2024-04-25 10:17:23 +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
gtsoul-tech
e71252a175 derefInvalidIteratorRedundantCheck 2024-04-24 13:15:17 +03:00
gtsoul-tech
31fdb430ec redundantInitialization 2024-04-24 12:40:55 +03:00
Konstantinos Margaritis
5363b7c8c7 Merge pull request #255 from isildur-g/wip-isildur-g
addressing some cppcheck warnings.
2024-04-24 12:39:17 +03:00
gtsoul-tech
ca340c141e invalidPrintfArgType_sint 2024-04-24 11:07:23 +03:00
G.E
0789008243 removed commented lines. 2024-04-23 23:46:08 +03:00
G.E
e3bc8ca0a8 ddressing some cppcheck warnings. yes this will be cleaned up in a
following commit. tests pass.
2024-04-23 19:08:24 +03:00
gtsoul-tech
605f1add59 accessMoved 2024-04-23 14:49:10 +03:00
gtsoul-tech
03e641a150 legacyUninitvar 2024-04-23 14:48:58 +03:00
gtsoul-tech
ac4628ce1c funcArgOrderDifferent 2024-04-23 14:48:51 +03:00
gtsoul-tech
27d08736fb redundantContinue 2024-04-23 14:48:35 +03:00
gtsoul-tech
bda8cc78db comparisonOfBoolWithBoolError 2024-04-23 14:48:12 +03:00
gtsoul-tech
7d16877b24 useInitializationList 2024-04-23 14:47:21 +03:00
gtsoul-tech
bb612e6a78 unsignedLessThanZero cppcheck 2024-04-23 12:27:43 +03:00
gtsoul-tech
ea82f73dc6 accessMoved cppcheck error 2024-04-23 12:15:12 +03:00
g. economou
c13cab915a Merge branch 'develop' into static-fat-dispatch 2024-04-23 10:40:47 +03:00
Gregory Economou
c743bb320a static dispatch for fat runtimes. eliminates the need for ifunc. 2024-04-19 12:32:00 +03:00
gtsoul-tech
7991aa364d clang-format revert 2024-04-17 13:55:42 +03:00
gtsoul-tech
d87a2fb2dc gcc-14 compilation fix Closes:#245 2024-04-17 13:33:48 +03:00
G.E.
5ebc19674c removing the dispatcher.c changes from this branch/PR 2024-04-16 17:43:11 +03:00
Gregory Economou
b4115b821b united the static fat runtime dispatcher with the BSD support. 2024-04-15 14:59:08 +03:00
G.E.
f872c289bd one more place to fix where clang in bsd is more picky than gcc in linux 2024-04-15 11:44:22 +03:00
G.E.
b054e6c488 added copyright info for modified src files 2024-04-11 09:49:43 +03:00
G.E.
feeb6a57ac moved HAVE_BUILTIN_POPCOUNT def to cmake 2024-03-12 14:22:39 +02:00
G.E.
33444e7ce0 incremental improvement in cleanliness 2024-03-12 12:37:08 +02:00
G.E.
205bcbb060 support building on NetBSD 2024-03-06 10:48:56 +01:00
Konstantinos Margaritis
a4d1779945 Merge pull request #225 from VectorCamp/feature/cleanup-compiler-warnings
According to https://buildbot-ci.vectorcamp.gr/#/changes/93

most builds succceded and with no compiler warnings. The build failures were only on x86 and Arm for SIMDe builds: x86 because of a bug in SIMDe emulation of own x86 intrinsics in non-native mode and Arm due to clang, unsure if this is actually a bug in SIMDe or clang itself. All the remaining compiler warnings that were suppressed was because they were not possible to fix for the scope of this project. 

This PR will close #170, code quality improvements however will continue with the integration of #222 or similar static code analyzer to CI and continuous refactoring.
2024-01-20 22:41:00 +02:00
Konstantinos Margaritis
7a2179c793 Revert "if we don't have a 256/512-bit SIMD engine, there is no need to have 32/64-byte alignment and gcc complains anyway"
This reverts commit 9134cd6250.
2024-01-19 15:23:11 +02:00
Konstantinos Margaritis
7b928cf35e use snprintf() instead 2024-01-18 23:40:38 +02:00
Konstantinos Margaritis
60dde08d81 remove unused constants 2024-01-18 22:08:19 +02:00
Yoan Picchi
6652d4a837 Make the match component of SVE truffle constant time
There are no significant speed up for 128b vectors but we expect some speedup
for wider vectors compared to the previous linear time implementation of the
match.hpp component

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
2024-01-18 11:53:45 +00:00
Konstantinos Margaritis
9bb2243858 if we don't have a 256/512-bit SIMD engine, there is no need to have 32/64-byte alignment and gcc complains anyway 2024-01-18 00:42:36 +02:00
Konstantinos Margaritis
fdc067861e check the correct define 2024-01-18 00:41:56 +02:00
Konstantinos Margaritis
8aebaa742f initialize variable 2024-01-17 17:16:02 +02:00
Konstantinos Margaritis
f3b9af09c9 remove redundant moves 2024-01-17 17:15:32 +02:00
Konstantinos Margaritis
f399dfa586 remove unused constant 2024-01-17 17:13:51 +02:00
Yoan Picchi
c67076ce22 Add truffle SVE implementation
Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
2024-01-09 16:50:03 +00:00
Konstantinos Margaritis
50675d0af6 add fallback pdep64 for x86 if no HAVE_BMI2 2023-12-20 08:25:30 +02:00
Konstantinos Margaritis
192bf38d56 add missing pdep64 for x86 bitutils 2023-12-20 00:12:15 +02:00
Konstantinos Margaritis
38231b2a5e add missing pdep64 for arm and ppc64le 2023-12-19 23:15:27 +02:00