1455 Commits

Author SHA1 Message Date
Yoan Picchi
49fd4f0047 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
71fcade2ac
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
7fd45f864c next batch for cppeheck, addressing syntaxError and
constParameterPointer
2024-04-24 17:32:09 +03:00
gtsoul-tech
5dab841cea badBitmaskCheck 2024-04-24 15:50:55 +03:00
gtsoul-tech
72371a05dc derefInvalidIteratorRedundantCheck 2024-04-24 13:15:17 +03:00
gtsoul-tech
fd3e251afa redundantInitialization 2024-04-24 12:40:55 +03:00
Konstantinos Margaritis
db07cddaec
Merge pull request #255 from isildur-g/wip-isildur-g
addressing some cppcheck warnings.
2024-04-24 12:39:17 +03:00
gtsoul-tech
9b9df1b397 invalidPrintfArgType_sint 2024-04-24 11:07:23 +03:00
G.E
8dabc86a69 removed commented lines. 2024-04-23 23:46:08 +03:00
G.E
01dee390a9 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
52b0076f4f accessMoved 2024-04-23 14:49:10 +03:00
gtsoul-tech
8d3a5d7cf1 legacyUninitvar 2024-04-23 14:48:58 +03:00
gtsoul-tech
73e00e2abc funcArgOrderDifferent 2024-04-23 14:48:51 +03:00
gtsoul-tech
9316d65022 redundantContinue 2024-04-23 14:48:35 +03:00
gtsoul-tech
9d5753b215 comparisonOfBoolWithBoolError 2024-04-23 14:48:12 +03:00
gtsoul-tech
182f7ddb47 useInitializationList 2024-04-23 14:47:21 +03:00
gtsoul-tech
06fc35321d unsignedLessThanZero cppcheck 2024-04-23 12:27:43 +03:00
gtsoul-tech
c4bffd7cef accessMoved cppcheck error 2024-04-23 12:15:12 +03:00
g. economou
7590fdc8c7
Merge branch 'develop' into static-fat-dispatch 2024-04-23 10:40:47 +03:00
Gregory Economou
cfa8397e97 static dispatch for fat runtimes. eliminates the need for ifunc. 2024-04-19 12:32:00 +03:00
gtsoul-tech
51ac3a2287 clang-format revert 2024-04-17 13:55:42 +03:00
gtsoul-tech
f2db0cdf01 gcc-14 compilation fix Closes:#245 2024-04-17 13:33:48 +03:00
G.E.
6e306a508e removing the dispatcher.c changes from this branch/PR 2024-04-16 17:43:11 +03:00
Gregory Economou
d96206a12f united the static fat runtime dispatcher with the BSD support. 2024-04-15 14:59:08 +03:00
G.E.
b0916df825 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.
773d57d890 added copyright info for modified src files 2024-04-11 09:49:43 +03:00
G.E.
0045a2bdc7 moved HAVE_BUILTIN_POPCOUNT def to cmake 2024-03-12 14:22:39 +02:00
G.E.
d6d7a96c44 incremental improvement in cleanliness 2024-03-12 12:37:08 +02:00
G.E.
12f61d15ed support building on NetBSD 2024-03-06 10:48:56 +01:00
Konstantinos Margaritis
98eb459ac2
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
1a4e878abe 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 9134cd6250f47034e15ef42981a3257ae4e3d506.
2024-01-19 15:23:11 +02:00
Konstantinos Margaritis
3d0df318b8 use snprintf() instead 2024-01-18 23:40:38 +02:00
Konstantinos Margaritis
a1258680ac remove unused constants 2024-01-18 22:08:19 +02:00
Yoan Picchi
01d8a2d768 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
9134cd6250 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
593299e7bb check the correct define 2024-01-18 00:41:56 +02:00
Konstantinos Margaritis
6b9068db0f initialize variable 2024-01-17 17:16:02 +02:00
Konstantinos Margaritis
5e1972efce remove redundant moves 2024-01-17 17:15:32 +02:00
Konstantinos Margaritis
9fac2bf78d remove unused constant 2024-01-17 17:13:51 +02:00
Yoan Picchi
8e5abfebf0 Add truffle SVE implementation
Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
2024-01-09 16:50:03 +00:00
Konstantinos Margaritis
1b915cfb93 add fallback pdep64 for x86 if no HAVE_BMI2 2023-12-20 08:25:30 +02:00
Konstantinos Margaritis
49e6fe15a2 add missing pdep64 for x86 bitutils 2023-12-20 00:12:15 +02:00
Konstantinos Margaritis
8cba258e7f add missing pdep64 for arm and ppc64le 2023-12-19 23:15:27 +02:00
Konstantinos Margaritis
c8ba7fa1d3 add missing pdep64 for common bitutils 2023-12-19 23:09:03 +02:00
Konstantinos Margaritis
519bd64c65 fix failing allbits test for ppc64le on clang15 2023-11-29 01:39:05 +02:00
Konstantinos Margaritis
be9ce68767 make diffrich384 available on all arches 2023-11-28 12:06:46 +00:00
Konstantnos Margaritis
f5e508b13f fix compilation for SIMDe 2023-11-27 20:52:52 +00:00
Konstantinos Margaritis
f57928ea08 fix SIMDe emulation builds on Arm, add native translation from x86 for comparison 2023-11-27 12:21:58 +00:00
Konstantnos Margaritis
dfacf75855 existing scalar implementations were incorrect -but never tested, ported from arm/ppc64le 2023-11-23 16:09:10 +00:00
Konstantnos Margaritis
20f4f542a5 add missing intrinsics for SIMDe backend 2023-11-23 16:08:26 +00:00