Commit Graph

1451 Commits

Author SHA1 Message Date
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
Konstantinos Margaritis
c5849a435f add missing pdep64 for common bitutils 2023-12-19 23:09:03 +02:00
Konstantinos Margaritis
4f75310595 fix failing allbits test for ppc64le on clang15 2023-11-29 01:39:05 +02:00
Konstantinos Margaritis
5cb3a69edc make diffrich384 available on all arches 2023-11-28 12:06:46 +00:00
Konstantinos Margaritis
64d106e582 fix compilation for SIMDe 2023-11-27 20:52:52 +00:00
Konstantinos Margaritis
1fb601f3a9 fix SIMDe emulation builds on Arm, add native translation from x86 for comparison 2023-11-27 12:21:58 +00:00
Konstantinos Margaritis
b0d9c7f879 existing scalar implementations were incorrect -but never tested, ported from arm/ppc64le 2023-11-23 16:09:10 +00:00
Konstantinos Margaritis
9cf061b89b add missing intrinsics for SIMDe backend 2023-11-23 16:08:26 +00:00
Konstantinos Margaritis
5d8ea9b1ae SIMDE is a valid platform 2023-11-23 13:07:28 +00:00
Konstantinos Margaritis
99807c17a6 enable SIMDe backend 2023-11-21 17:13:33 +00:00
Konstantinos Margaritis
50a664b5c3 add SIMDe ports of simd_utils and supervector 2023-11-21 17:12:04 +00:00
Konstantinos Margaritis
4e231c6009 Move VERM16 enums to the end of the list
This was causing a hard-to-track segfault with Fat Runtime on SVE2 hw,
because of the macro-based hard-coded way to calculate offsets for each
implementation. This needs a rewrite.
2023-11-17 03:50:30 +08:00