1728 Commits

Author SHA1 Message Date
Apostolos Tapsas
2b1db73326 WIP: simd & bitutils files finctions fixes 2021-10-21 13:34:02 +00:00
Apostolos Tapsas
558313a2c2 SuperVector operators fixes and simd_utils low/high64 functions implementations added 2021-10-18 12:26:38 +00:00
Apostolos Tapsas
e084c2d6e4 SuperVector vsh* implementations 2021-10-15 14:07:17 +00:00
apostolos
b1f53f8e49 match file for ARCH_PPC64EL added 2021-10-14 16:26:59 +03:00
apostolos
ba4472a61c trufle and shufle implementations for ARCH_PPC64EL 2021-10-14 16:01:21 +03:00
apostolos
d0a41252c8 blockSigleMask implementations for ARCH_PPC64 added 2021-10-14 15:56:13 +03:00
apostolos
4d2acd59e2 Supervector vsh* added 2021-10-14 15:08:23 +03:00
Apostolos Tapsas
7888dd4418 WIP: Power VSX support almost completed 2021-10-14 13:53:55 +03:00
Vectorcamp
2231f7c024 compile fixes for vsc port 2021-10-14 13:53:55 +03:00
apostolos
90d3db1776 update powerpc simd util file functions 2021-10-14 13:53:55 +03:00
apostolos
0078c28ee6 implementations for powerpc64el architecture 2021-10-14 13:53:55 +03:00
Vectorcamp
079f3518d7 ppc64el arcitecture added in CMakelists file 2021-10-14 13:53:55 +03:00
Vectorcamp
f1d781ffee test commit from VM and CMakelists add power support 2021-10-14 13:53:55 +03:00
Konstantinos Margaritis
1f55d419eb add initial ppc64el support
(cherry picked from commit 63e26a4b2880eda7b6ac7b49271d83ba3e6143c4)
(cherry picked from commit c214ba253327114c16d0724f75c998ab00d44919)
2021-10-14 13:53:55 +03:00
Konstantinos Margaritis
35a25fffd7 link benchmarks against static lib only as some symbols are not exposed in the shared lib v5.4.4+vectorscan 2021-10-12 10:33:40 +00:00
Konstantinos Margaritis
4e044d4142 Add missing copyright info from tampered files v5.4.3+vectorscan 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
b9801478b2 bump version 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
c3baf3d296 fix multiple/undefined symbols when using fat runtimes 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
2d9f52d03e add arm truffle block function 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
9d0c15c448 add simd_onebit_masks as static in arm simd_utils.h as well 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
aea10b8ab0 simplify truffle and provide arch-specific block functions 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
623c64142b simplify shufti and provide arch-specific block functions 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
577e03e0c7 rearrange method declarations 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
9c54412447 remove simd_utils.c 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
8b7ba89cb5 add x86 vsh* implementations 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
eebd6c97bc use movemask 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
6ceab8435d add header define to avoid double inclusion 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
db6354b787 do not include the Supervector impl.cpp files in fat runtime 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
a78f3789a9 atm, do not built benchmark tool for fat runtime, as the function names are modified, need to rethink this 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
96af3e8613 Improve benchmarks 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
fad39b6058 optimize and simplify Shufti and Truffle to work with a single block method instead 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
456b1c6182 no need to convert to size_t 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
9e6c1c30cf remove asserts, as they are not needed 2021-10-12 11:51:35 +03:00
Konstantinos Margaritis
fa3d509fad firstMatch/lastMatch are now arch-dependent, emulating movemask on non-Intel is very costly, the alternative is almost twice as fast on Arm 2021-10-12 11:51:34 +03:00
Konstantinos Margaritis
9ab18cf419 fix for new pshufb 2021-10-12 11:51:34 +03:00
Konstantinos Margaritis
67e0674df8 Changes/Additions to SuperVector class * added ==,!=,>=,>,<=,< operators * reworked shift operators to be more uniform and orthogonal, like Arm ISA * Added Unroller class to allow handling of multiple cases but avoid code duplication * pshufb method can now emulate Intel or not (avoids one instruction). 2021-10-12 11:51:34 +03:00
Konstantinos Margaritis
e7161fdfec initial SSE/AVX2 implementation 2021-10-12 11:51:34 +03:00
Duncan Bellamy
e5e2057ca9 remove adding CMAKE_CXX_IMPLICIT_LINK_LIBRARIES to PRIVATE_LIBS
as on alpine linux this add gcc_s which is a shared library

on alpine:
Libs.private: -lstdc++ -lm -lssp_nonshared -lgcc_s -lgcc -lc -lgcc_s -lgcc
2021-10-12 11:51:34 +03:00
apostolos
bc57891aa0 Unify benchmarks, more accurate measurements 2021-10-12 11:51:34 +03:00
Konstantinos Margaritis
b40899966f Unify benchmarks, more accurate measurements
(cherry picked from commit f50d7656bc78c54ec25916b6c8e655c188d79a13)
2021-10-12 11:51:34 +03:00
apostolos
d7e9d2d915 benchmarks functions replaced with lambdas 2021-10-12 11:51:34 +03:00
apostolos
cf1d72745c raw pointers replaced with smart pointers 2021-10-12 11:51:34 +03:00
apostolos
c774a76f24 nit 2021-10-12 11:51:34 +03:00
apostolos
a86d6c290d nit 2021-10-12 11:51:34 +03:00
apostolos
ee8fa17351 fix benchmarks outputs 2021-10-12 11:51:34 +03:00
apostolos
53b9034546 bandwidth output fixes 2021-10-12 11:51:34 +03:00
apostolos
0e141ce700 size outup for case with match fixed 2021-10-12 11:51:34 +03:00
apostolos
5d4adf267d nits 2021-10-12 11:51:34 +03:00
apostolos
2e6c75c895 size output fixed 2021-10-12 11:51:34 +03:00
apostolos
9901477bcf nits 2021-10-12 11:51:34 +03:00