]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
15 months agoremoving the dispatcher.c changes from this branch/PR 232/head 238/head
G.E. [Tue, 16 Apr 2024 14:43:11 +0000 (17:43 +0300)] 
removing the dispatcher.c changes from this branch/PR

15 months agoadded a fixme for the clunky rpath setting logic
Gregory Economou [Tue, 16 Apr 2024 12:18:58 +0000 (15:18 +0300)] 
added a fixme for the clunky rpath setting logic

15 months agocmake adds newlines to variables set from command output, trashing the
Gregory Economou [Tue, 16 Apr 2024 12:04:20 +0000 (15:04 +0300)] 
cmake adds newlines to variables set from command output, trashing the
usefulness of the flexible method of setting the rpath var. back to
the clunky manual setting.

15 months agomade the rpath finding a bit more flexible than just hardcoded gcc12 and gcc13
Gregory Economou [Tue, 16 Apr 2024 10:09:05 +0000 (13:09 +0300)] 
made the rpath finding a bit more flexible than just hardcoded gcc12 and gcc13

15 months ago bit hacky but it works for setting rpath in freebsd
Gregory Economou [Tue, 16 Apr 2024 07:17:53 +0000 (10:17 +0300)] 
 bit hacky but it works for setting rpath in freebsd

15 months agoprobably fixed the bit about not finding the right libs in some bsd installs
Gregory Economou [Mon, 15 Apr 2024 13:50:58 +0000 (16:50 +0300)] 
probably fixed the bit about not finding the right libs in some bsd installs

15 months agounited the static fat runtime dispatcher with the BSD support.
Gregory Economou [Mon, 15 Apr 2024 11:59:08 +0000 (14:59 +0300)] 
united the static fat runtime dispatcher with the BSD support.

15 months agofirst try at getting cmake to leave custom shared lib paths with the binary,
G.E. [Mon, 15 Apr 2024 08:52:33 +0000 (11:52 +0300)] 
first try at getting cmake to leave custom shared lib paths with the binary,
with package added compilers we need to find the right std libs from the
compiler we added, not the base install libs.

15 months agoone more place to fix where clang in bsd is more picky than gcc in linux
G.E. [Mon, 15 Apr 2024 08:44:22 +0000 (11:44 +0300)] 
one more place to fix where clang in bsd is more picky than gcc in linux

15 months agotiny edit to readme
G.E. [Mon, 15 Apr 2024 08:07:45 +0000 (11:07 +0300)] 
tiny edit to readme

15 months agoadded ccache for freebsd install recommendations
G.E. [Thu, 11 Apr 2024 14:47:16 +0000 (17:47 +0300)] 
added ccache for freebsd install recommendations

15 months agoadding libpcap to the bsd packages to install for building/running
G.E. [Thu, 11 Apr 2024 12:06:18 +0000 (15:06 +0300)] 
adding libpcap to the bsd packages to install for building/running

15 months agoadded copyright info for modified src files
G.E. [Thu, 11 Apr 2024 06:49:43 +0000 (09:49 +0300)] 
added copyright info for modified src files

16 months agoslightly clearer comments in netbsd section
isildur-g [Wed, 27 Mar 2024 15:33:25 +0000 (17:33 +0200)] 
slightly clearer comments in netbsd section

16 months agoalso sqlite info for bsd
isildur-g [Wed, 27 Mar 2024 15:28:24 +0000 (17:28 +0200)] 
also sqlite info for bsd

16 months agosome more bsd detail
isildur-g [Wed, 27 Mar 2024 15:24:08 +0000 (17:24 +0200)] 
some more bsd detail

16 months agomore system prep info for bsd
isildur-g [Wed, 27 Mar 2024 15:19:56 +0000 (17:19 +0200)] 
more system prep info for bsd

16 months agoalso added note for CC/CXX vars in fbsd/ppc which are different.
isildur-g [Wed, 27 Mar 2024 14:35:21 +0000 (16:35 +0200)] 
also added note for CC/CXX vars in fbsd/ppc which are different.

16 months agomore verbose instructions for preparing BSD systems.
isildur-g [Wed, 27 Mar 2024 14:31:02 +0000 (16:31 +0200)] 
more verbose instructions for preparing BSD systems.

16 months agowhitespace editing in readme
G.E. [Wed, 13 Mar 2024 15:33:23 +0000 (17:33 +0200)] 
whitespace editing in readme

16 months agoshortened freebsd text
G.E. [Tue, 12 Mar 2024 14:50:57 +0000 (16:50 +0200)] 
shortened freebsd text

16 months agotypo fix
isildur-g [Tue, 12 Mar 2024 12:58:50 +0000 (13:58 +0100)] 
typo fix

16 months agomoved HAVE_BUILTIN_POPCOUNT def to cmake
G.E. [Tue, 12 Mar 2024 12:22:39 +0000 (14:22 +0200)] 
moved HAVE_BUILTIN_POPCOUNT def to cmake

16 months agoanother small cleanup in readme
G.E. [Tue, 12 Mar 2024 10:59:16 +0000 (12:59 +0200)] 
another small cleanup in readme

16 months agoincremental improvement in cleanliness
G.E. [Tue, 12 Mar 2024 10:37:08 +0000 (12:37 +0200)] 
incremental improvement in cleanliness

16 months agomaybe netbsd is more pedantic about this?
isildur-g [Wed, 6 Mar 2024 16:05:55 +0000 (17:05 +0100)] 
maybe netbsd is more pedantic about this?

16 months agolets not disable warnings
isildur-g [Wed, 6 Mar 2024 15:39:34 +0000 (16:39 +0100)] 
lets not disable warnings

16 months agomore readme format tinkering
isildur-g [Wed, 6 Mar 2024 14:53:03 +0000 (15:53 +0100)] 
more readme format tinkering

16 months agoformatting in readme
isildur-g [Wed, 6 Mar 2024 14:50:26 +0000 (15:50 +0100)] 
formatting in readme

16 months agominor change for more certain success in netbsd
G.E. [Wed, 6 Mar 2024 14:28:20 +0000 (15:28 +0100)] 
minor change for more certain success in netbsd

16 months agolets rather not add lines of code not yet used anywhere
G.E. [Wed, 6 Mar 2024 13:57:28 +0000 (14:57 +0100)] 
lets rather not add lines of code not yet used anywhere

16 months agoupdated readme to reflect FreeBSD build
G.E. [Wed, 6 Mar 2024 11:31:35 +0000 (12:31 +0100)] 
updated readme to reflect FreeBSD build

16 months agosupport building on NetBSD
G.E. [Wed, 6 Mar 2024 09:48:56 +0000 (10:48 +0100)] 
support building on NetBSD

18 months agoMerge pull request #229 from ProBrian/bugfix/pcre_check_error
Konstantinos Margaritis [Mon, 29 Jan 2024 18:26:57 +0000 (20:26 +0200)] 
Merge pull request #229 from ProBrian/bugfix/pcre_check_error

fix the pcre versio check error on clang 16

18 months agofix the pcre versio check error on clang 16 229/head
Jingbo Chen [Mon, 29 Jan 2024 02:50:16 +0000 (10:50 +0800)] 
fix the pcre versio check error on clang 16

18 months agoMerge pull request #225 from VectorCamp/feature/cleanup-compiler-warnings
Konstantinos Margaritis [Sat, 20 Jan 2024 20:41:00 +0000 (22:41 +0200)] 
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.

18 months agoremove unused warning exceptions 225/head
Konstantinos Margaritis [Sat, 20 Jan 2024 17:52:31 +0000 (19:52 +0200)] 
remove unused warning exceptions

18 months agoRevert "fix more unused-variable warnings"
Konstantinos Margaritis [Fri, 19 Jan 2024 16:52:50 +0000 (18:52 +0200)] 
Revert "fix more unused-variable warnings"

This reverts commit afb1a1705f8073ba43b38845d3aa1329634083ed.

18 months agoRevert "fix unused-variable warning"
Konstantinos Margaritis [Fri, 19 Jan 2024 16:52:35 +0000 (18:52 +0200)] 
Revert "fix unused-variable warning"

This reverts commit ac02b589beebad99820a8b42e6b96e598e7da929.

18 months agoadd -Wno-deprecate-lax-vec-conv-all on clang 15 for Power only
Konstantinos Margaritis [Sat, 20 Jan 2024 15:45:56 +0000 (17:45 +0200)] 
add -Wno-deprecate-lax-vec-conv-all on clang 15 for Power only

18 months agoRevert "don't demand 32/64-byte alignment if there is no 256/512-bit SIMD engine"
Konstantinos Margaritis [Fri, 19 Jan 2024 15:41:40 +0000 (17:41 +0200)] 
Revert "don't demand 32/64-byte alignment if there is no 256/512-bit SIMD engine"

This reverts commit 719e1c9be6fd6fd316889ac7625253d0ad9c5fd5.

18 months agoRevert "if we don't have a 256/512-bit SIMD engine, there is no need to have 32/64...
Konstantinos Margaritis [Fri, 19 Jan 2024 13:23:11 +0000 (15:23 +0200)] 
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.

18 months ago-Wno-pass-failed is only for ppc64le
Konstantinos Margaritis [Fri, 19 Jan 2024 09:23:17 +0000 (11:23 +0200)] 
-Wno-pass-failed is only for ppc64le

18 months agouse snprintf() instead
Konstantinos Margaritis [Thu, 18 Jan 2024 20:25:29 +0000 (22:25 +0200)] 
use snprintf() instead

18 months agoadd needed deprecation warning exceptions for SIMDe on Power VSX
Konstantinos Margaritis [Thu, 18 Jan 2024 21:37:04 +0000 (23:37 +0200)] 
add needed deprecation warning exceptions for SIMDe on Power VSX

18 months agoremove unused constants
Konstantinos Margaritis [Thu, 18 Jan 2024 20:08:19 +0000 (22:08 +0200)] 
remove unused constants

18 months agoset x86-64-v2 as baseline arch for fat runtime
Konstantinos Margaritis [Thu, 18 Jan 2024 20:08:05 +0000 (22:08 +0200)] 
set x86-64-v2 as baseline arch for fat runtime

18 months agouse x86-64-v2 as default x86 arch for SIMDe
Konstantinos Margaritis [Thu, 18 Jan 2024 19:22:42 +0000 (21:22 +0200)] 
use x86-64-v2 as default x86 arch for SIMDe

18 months agoMerge pull request #226 from ypicchi-arm/opti/remove_unused_instruction_truffle_sve
Konstantinos Margaritis [Thu, 18 Jan 2024 19:20:47 +0000 (21:20 +0200)] 
Merge pull request #226 from ypicchi-arm/opti/remove_unused_instruction_truffle_sve

Make the match component of SVE truffle constant time

18 months agodon't demand 32/64-byte alignment if there is no 256/512-bit SIMD engine
Konstantinos Margaritis [Thu, 18 Jan 2024 16:37:27 +0000 (18:37 +0200)] 
don't demand 32/64-byte alignment if there is no 256/512-bit SIMD engine

18 months agoMake the match component of SVE truffle constant time 226/head
Yoan Picchi [Fri, 12 Jan 2024 15:33:28 +0000 (15:33 +0000)] 
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>
18 months agoWIP: after cleaning up the code, remove the warnings from compilation flags
Konstantinos Margaritis [Wed, 17 Jan 2024 22:47:44 +0000 (00:47 +0200)] 
WIP: after cleaning up the code, remove the warnings from compilation flags

18 months agouse arch set in cflags-x86.cmake
Konstantinos Margaritis [Wed, 17 Jan 2024 22:43:32 +0000 (00:43 +0200)] 
use arch set in cflags-x86.cmake

18 months agofix some build misconfigurations on x86
Konstantinos Margaritis [Wed, 17 Jan 2024 22:43:11 +0000 (00:43 +0200)] 
fix some build misconfigurations on x86

18 months agoif we don't have a 256/512-bit SIMD engine, there is no need to have 32/64-byte align...
Konstantinos Margaritis [Wed, 17 Jan 2024 22:42:36 +0000 (00:42 +0200)] 
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

18 months agocheck the correct define
Konstantinos Margaritis [Wed, 17 Jan 2024 22:41:56 +0000 (00:41 +0200)] 
check the correct define

18 months agoadd info message
Konstantinos Margaritis [Wed, 17 Jan 2024 22:41:23 +0000 (00:41 +0200)] 
add info message

18 months agoWIP: only keep the absolutely necessary warning exceptions
Konstantinos Margaritis [Wed, 17 Jan 2024 15:18:12 +0000 (17:18 +0200)] 
WIP: only keep the absolutely necessary warning exceptions

18 months agoinitialize variable
Konstantinos Margaritis [Wed, 17 Jan 2024 15:16:02 +0000 (17:16 +0200)] 
initialize variable

18 months agoremove redundant moves
Konstantinos Margaritis [Wed, 17 Jan 2024 15:15:32 +0000 (17:15 +0200)] 
remove redundant moves

18 months agoremove unused constant
Konstantinos Margaritis [Wed, 17 Jan 2024 15:13:51 +0000 (17:13 +0200)] 
remove unused constant

18 months agofix more unused-variable warnings
Konstantinos Margaritis [Wed, 17 Jan 2024 15:03:19 +0000 (17:03 +0200)] 
fix more unused-variable warnings

18 months agoremove unused variable
Konstantinos Margaritis [Wed, 17 Jan 2024 15:02:32 +0000 (17:02 +0200)] 
remove unused variable

18 months agofix unused-variable warning
Konstantinos Margaritis [Wed, 17 Jan 2024 15:02:08 +0000 (17:02 +0200)] 
fix unused-variable warning

18 months agoset default x86 architecture to baseline
Konstantinos Margaritis [Wed, 17 Jan 2024 15:00:47 +0000 (17:00 +0200)] 
set default x86 architecture to baseline

18 months agoMerge pull request #219 from VectorCamp/bugfix/make-sqlite-optional
Konstantinos Margaritis [Mon, 15 Jan 2024 14:57:11 +0000 (16:57 +0200)] 
Merge pull request #219 from VectorCamp/bugfix/make-sqlite-optional

Make sqlite optional, use OS installed

18 months agomake pkgconf not a hard requirement 219/head
Konstantinos Margaritis [Mon, 15 Jan 2024 11:17:20 +0000 (13:17 +0200)] 
make pkgconf not a hard requirement

18 months agoMerge pull request #221 from VectorCamp/bugfix/bug202-unit-internal
Konstantinos Margaritis [Thu, 11 Jan 2024 14:26:01 +0000 (16:26 +0200)] 
Merge pull request #221 from VectorCamp/bugfix/bug202-unit-internal

Do not assume unit-internal is built for unit target

18 months agoDo not assume unit-internal is built for unit target 221/head
Konstantinos Margaritis [Thu, 11 Jan 2024 11:23:37 +0000 (13:23 +0200)] 
Do not assume unit-internal is built for unit target

18 months agoMerge pull request #220 from VectorCamp/feature/fatruntime-enabled-on-x86
Konstantinos Margaritis [Wed, 10 Jan 2024 20:47:23 +0000 (22:47 +0200)] 
Merge pull request #220 from VectorCamp/feature/fatruntime-enabled-on-x86

Feature/fatruntime enabled on x86

18 months agoenable AVX2,AVX512,AVX512 for fat runtimes on x86 220/head
Konstantinos Margaritis [Wed, 10 Jan 2024 16:26:12 +0000 (18:26 +0200)] 
enable AVX2,AVX512,AVX512 for fat runtimes on x86

18 months agoEnable Fat runtime on x86 by default to help migration from hyperscan
Konstantinos Margaritis [Wed, 10 Jan 2024 16:25:31 +0000 (18:25 +0200)] 
Enable Fat runtime on x86 by default to help migration from hyperscan

18 months agoMake sqlite optional, use OS installed
Konstantinos Margaritis [Wed, 10 Jan 2024 12:28:06 +0000 (14:28 +0200)] 
Make sqlite optional, use OS installed

18 months agoMerge pull request #217 from ypicchi-arm/feature/Add-truffle-SVE-implementation
Konstantinos Margaritis [Tue, 9 Jan 2024 20:53:09 +0000 (22:53 +0200)] 
Merge pull request #217 from ypicchi-arm/feature/Add-truffle-SVE-implementation

Add truffle SVE implementation

18 months agoAdd truffle SVE implementation 217/head
Yoan Picchi [Thu, 7 Dec 2023 14:29:29 +0000 (14:29 +0000)] 
Add truffle SVE implementation

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
19 months agoMerge pull request #215 from VectorCamp/feature/use-ccache
Konstantinos Margaritis [Thu, 21 Dec 2023 23:18:22 +0000 (01:18 +0200)] 
Merge pull request #215 from VectorCamp/feature/use-ccache

use ccache if available

19 months agouse ccache if available 215/head
Konstantinos Margaritis [Tue, 12 Dec 2023 08:18:54 +0000 (10:18 +0200)] 
use ccache if available

19 months agoMerge pull request #212 from VectorCamp/bugfix/fix-simde-build
Konstantinos Margaritis [Thu, 21 Dec 2023 09:04:32 +0000 (11:04 +0200)] 
Merge pull request #212 from VectorCamp/bugfix/fix-simde-build

SIMDe on Clang needs SIMDE_NO_CHECK_IMMEDIATE_CONSTANT defined and other SIMDe related fixes now that SIMDe is part of the CI pipeline.

Some issue with SIMDe on x86 still remains because of an upstream bug:

https://github.com/simd-everywhere/simde/issues/1119

Similarly SIMDe native with clang on Arm also poses a non-high priority build failure:

https://buildbot-ci.vectorcamp.gr/#/builders/129/builds/11

Possibly a SIMDe issue as well, need to investigate but will merge this PR as these are non-blockers.

19 months agofix typo in baseline x86 arch definition 212/head
Konstantinos Margaritis [Wed, 20 Dec 2023 20:21:00 +0000 (22:21 +0200)] 
fix typo in baseline x86 arch definition

19 months agonative CPU on SIMDe will enable all sorts of features in an unpredicted manner, set...
Konstantinos Margaritis [Wed, 20 Dec 2023 16:43:38 +0000 (16:43 +0000)] 
native CPU on SIMDe will enable all sorts of features in an unpredicted manner, set sane defaults

19 months agoGREATER_EQUAL
Konstantinos Margaritis [Wed, 20 Dec 2023 15:27:56 +0000 (15:27 +0000)] 
GREATER_EQUAL

19 months agoreorganize OS detection
Konstantinos Margaritis [Wed, 20 Dec 2023 15:16:45 +0000 (17:16 +0200)] 
reorganize OS detection

19 months agofix submodule headers detection
Konstantinos Margaritis [Wed, 20 Dec 2023 15:16:23 +0000 (17:16 +0200)] 
fix submodule headers detection

19 months agofix arch=native on arm+clang
Konstantinos Margaritis [Wed, 20 Dec 2023 15:15:38 +0000 (15:15 +0000)] 
fix arch=native on arm+clang

19 months agoadd fallback pdep64 for x86 if no HAVE_BMI2
Konstantinos Margaritis [Wed, 20 Dec 2023 06:25:30 +0000 (08:25 +0200)] 
add fallback pdep64 for x86 if no HAVE_BMI2

19 months agoadd missing pdep64 for x86 bitutils
Konstantinos Margaritis [Tue, 19 Dec 2023 22:12:15 +0000 (00:12 +0200)] 
add missing pdep64 for x86 bitutils

19 months agoadd missing pdep64 for arm and ppc64le
Konstantinos Margaritis [Tue, 19 Dec 2023 21:15:27 +0000 (23:15 +0200)] 
add missing pdep64 for arm and ppc64le

19 months agoadd missing pdep64 for common bitutils
Konstantinos Margaritis [Tue, 19 Dec 2023 21:09:03 +0000 (23:09 +0200)] 
add missing pdep64 for common bitutils

19 months agoSIMDe on Clang needs SIMDE_NO_CHECK_IMMEDIATE_CONSTANT defined
Konstantinos Margaritis [Tue, 19 Dec 2023 15:31:43 +0000 (17:31 +0200)] 
SIMDe on Clang needs SIMDE_NO_CHECK_IMMEDIATE_CONSTANT defined

20 months agoMerge pull request #203 from VectorCamp/feature/enable-simde-backend
Konstantinos Margaritis [Wed, 29 Nov 2023 09:22:08 +0000 (11:22 +0200)] 
Merge pull request #203 from VectorCamp/feature/enable-simde-backend

Feature/enable simde backend

20 months agofix failing allbits test for ppc64le on clang15 203/head
Konstantinos Margaritis [Tue, 28 Nov 2023 23:39:05 +0000 (01:39 +0200)] 
fix failing allbits test for ppc64le on clang15

20 months agoupdates to the Readme
Konstantinos Margaritis [Tue, 28 Nov 2023 16:27:08 +0000 (18:27 +0200)] 
updates to the Readme

20 months agosearch for SIMDE sse4.2.h header
Konstantinos Margaritis [Tue, 28 Nov 2023 15:39:55 +0000 (17:39 +0200)] 
search for SIMDE sse4.2.h header

20 months agoseparate ARCH_FLAG logic
Konstantinos Margaritis [Tue, 28 Nov 2023 15:28:48 +0000 (17:28 +0200)] 
separate ARCH_FLAG logic

20 months agoadd missing else
Konstantinos Margaritis [Tue, 28 Nov 2023 12:09:26 +0000 (14:09 +0200)] 
add missing else

20 months agomake diffrich384 available on all arches
Konstantinos Margaritis [Tue, 28 Nov 2023 12:06:46 +0000 (12:06 +0000)] 
make diffrich384 available on all arches

20 months agofix compilation for SIMDe
Konstantnos Margaritis [Mon, 27 Nov 2023 20:52:52 +0000 (20:52 +0000)] 
fix compilation for SIMDe

20 months agouse pkg-config for SIMDe
Konstantnos Margaritis [Mon, 27 Nov 2023 20:51:47 +0000 (20:51 +0000)] 
use pkg-config for SIMDe

20 months agofix TUNE_FLAG for SIMDE_BACKEND
Konstantnos Margaritis [Mon, 27 Nov 2023 20:51:29 +0000 (20:51 +0000)] 
fix TUNE_FLAG for SIMDE_BACKEND

20 months agofix SIMDe emulation builds on Arm, add native translation from x86 for comparison
Konstantinos Margaritis [Mon, 27 Nov 2023 12:21:58 +0000 (12:21 +0000)] 
fix SIMDe emulation builds on Arm, add native translation from x86 for comparison