Commit Graph

361 Commits

Author SHA1 Message Date
Konstantinos Margaritis
46aba61156 Merge pull request #239 from ypicchi-arm/feature/add-sheng-unit-tests
Feature/add sheng unit tests
2024-05-01 00:07:14 +03:00
gtsoul-tech
c38a44fd2f unreadVariable 2024-04-30 13:36:39 +03:00
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
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
G.E
68306ba75c next batch for cppeheck, addressing syntaxError and
constParameterPointer
2024-04-24 17:32:09 +03:00
gtsoul-tech
31fdb430ec redundantInitialization 2024-04-24 12:40:55 +03:00
Konstantinos Margaritis
7572ffb9c4 Revert "RFC Enable sheng32/64 for SVE" 2024-03-19 11:40:23 +02:00
Yoan Picchi
a23b3c9ea4 Enable sheng32/64 for SVE
Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
2024-03-11 12:46:08 +00: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
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
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
1fb601f3a9 fix SIMDe emulation builds on Arm, add native translation from x86 for comparison 2023-11-27 12:21:58 +00:00
Konstantinos Margaritis
99807c17a6 enable SIMDe backend 2023-11-21 17:13:33 +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
Konstantinos Margaritis
3ed0c593f4 Fix 'unqualified call to std::move' errors in clang 15+ 2023-10-03 20:24:39 +03:00
Hong, Yang A
3db9710564 remove invalid nfa dump info 2023-09-05 13:58:24 +03:00
Hong, Yang A
b8eb6af76b fix nfa dump error 2023-09-05 13:51:22 +03:00
Hong, Yang A
2d521d64a2 klocwork: fix risk issues 2023-09-05 13:45:33 +03:00
Konstantinos Margaritis
4b24525f27 move variable 2022-09-16 14:05:31 +03:00
Hong, Yang A
2e60bdde8a update year for bugfix #302-#305 2022-08-29 15:03:11 +03:00
Hong, Yang A
e05b154abb mcclellan: improve wide-state checking in Sherman optimization
fixes github issue #305
2022-08-29 15:03:06 +03:00
Danila Kutenin
eb7b0bb50c Optimize vectorscan for aarch64 by using shrn instruction
This optimization is based on the thread
https://twitter.com/Danlark1/status/1539344279268691970 and uses
shift right and narrow by 4 instruction https://developer.arm.com/documentation/ddi0596/2020-12/SIMD-FP-Instructions/SHRN--SHRN2--Shift-Right-Narrow--immediate--

To achieve that, I needed to redesign a little movemask into comparemask
and have an additional step towards mask iteration. Our benchmarks
showed 10-15% improvement on average for long matches.
2022-06-26 22:55:45 +00:00
Danila Kutenin
faca38e058 Fix a couple of tests 2022-02-18 19:31:03 +00:00
Danila Kutenin
a526f6bb6b Fix all ASAN issues in vectorscan 2022-02-18 17:14:51 +00:00
Konstantinos Margaritis
cc1a8dd47e fix SVE2 build after the changes 2021-11-25 18:48:24 +02:00
Apostolos Tapsas
8a6c3f81e4 Removed accidentaly included header file 2021-11-24 12:11:21 +00:00
Apostolos Tapsas
aac39f3208 vermicelli and match implementations for ppc64el added 2021-11-13 19:36:46 +00:00
apostolos
2136580d50 resolving conficts after merging 2021-11-13 18:58:22 +02:00
Konstantinos Margaritis
3fd710706a split vermicelli block implementations per arch 2021-11-08 19:45:21 +00:00
Apostolos Tapsas
5b18538373 SuperVector constructors as well as andnot implementation fixed 2021-11-05 13:34:48 +00:00
Konstantinos Margaritis
6317e24a82 add len parameter and mask, fixes corner cases on AVX512 2021-11-05 14:30:22 +02:00
Konstantinos Margaritis
694e2faf7f remove vermicelli.h and replace it with vermicelli.hpp 2021-11-02 22:30:53 +02:00
Konstantinos Margaritis
80286f38cb refactor vermicelliDoubleMaskedExec() 2021-11-02 22:30:21 +02:00
Konstantinos Margaritis
4db360c7b6 complete refactoring and unification of Vermicelli functions 2021-11-01 16:28:50 +00:00
Konstantinos Margaritis
94b467dc12 remove unneeded header 2021-11-01 16:28:50 +00:00
Konstantinos Margaritis
0d886f7800 add new include file 2021-11-01 16:28:50 +00:00
Konstantinos Margaritis
54245bc5ac renamed matcher functions, added new ones for Vermicelli 2021-11-01 16:28:50 +00:00
Konstantinos Margaritis
1c1a06aaae nits 2021-11-01 16:05:43 +00:00
Konstantinos Margaritis
d6fe28afc8 added refactored vermicelli_simd.cpp implementation 2021-11-01 16:05:43 +00:00
apostolos
3a4d8afb48 prints commants and formating fixes 2021-11-01 10:09:15 +02:00
Apostolos Tapsas
4f53ec6b08 Shuffle simd and SuperVector implementetions as well as their test realy fixed 2021-10-25 09:19:30 +03:00
Apostolos Tapsas
789f723814 SuperVector shuffle implementation and test function optimized 2021-10-22 11:55:39 +00:00
apostolos
ea5add7d4f test for movemask and shuffle cases added 2021-10-22 11:17:43 +03:00
Apostolos Tapsas
7978b3f054 WIP: simd & bitutils files finctions fixes 2021-10-21 13:34:02 +00:00
apostolos
fd905a0c9e trufle and shufle implementations for ARCH_PPC64EL 2021-10-14 16:01:21 +03:00