]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
15 months agofixed const adjustments. 258/head
G.E [Mon, 29 Apr 2024 10:38:35 +0000 (13:38 +0300)] 
fixed const adjustments.

15 months agoome of the consts couldnt be propagated and had to be reverted
G.E [Mon, 29 Apr 2024 09:39:28 +0000 (12:39 +0300)] 
ome of the consts couldnt be propagated and had to be reverted

15 months agonext batch for cppeheck, addressing syntaxError and
G.E [Wed, 24 Apr 2024 14:32:09 +0000 (17:32 +0300)] 
next batch for cppeheck, addressing syntaxError and
constParameterPointer

15 months agofixed merge mixup 257/head
G.E [Wed, 24 Apr 2024 13:26:38 +0000 (16:26 +0300)] 
fixed merge mixup

15 months agoMerge branch 'develop' into wip-isildur-g-cppcheck56
g. economou [Wed, 24 Apr 2024 13:13:39 +0000 (16:13 +0300)] 
Merge branch 'develop' into wip-isildur-g-cppcheck56

15 months agocppcheck invalidPrintfArgType_uint warnings
G.E [Wed, 24 Apr 2024 12:55:57 +0000 (15:55 +0300)] 
cppcheck invalidPrintfArgType_uint warnings

15 months agoMerge pull request #255 from isildur-g/wip-isildur-g
Konstantinos Margaritis [Wed, 24 Apr 2024 09:39:17 +0000 (12:39 +0300)] 
Merge pull request #255 from isildur-g/wip-isildur-g

addressing some cppcheck warnings.

15 months agoMerge pull request #254 from gtsoul-tech/bug/cppcheckErrors
Konstantinos Margaritis [Wed, 24 Apr 2024 07:55:51 +0000 (10:55 +0300)] 
Merge pull request #254 from gtsoul-tech/bug/cppcheckErrors

Bug/cppcheck errors WIP

15 months agoremoved another commented line 255/head
G.E [Tue, 23 Apr 2024 21:06:08 +0000 (00:06 +0300)] 
removed another commented line

15 months agofixed some const issues
G.E [Tue, 23 Apr 2024 21:04:59 +0000 (00:04 +0300)] 
fixed some const issues

15 months agoremoved commented lines.
G.E [Tue, 23 Apr 2024 20:46:08 +0000 (23:46 +0300)] 
removed commented lines.

15 months agoddressing some cppcheck warnings. yes this will be cleaned up in a
G.E [Tue, 23 Apr 2024 16:08:24 +0000 (19:08 +0300)] 
ddressing some cppcheck warnings. yes this will be cleaned up in a
following commit. tests pass.

15 months agoaccessMoved 254/head
gtsoul-tech [Tue, 23 Apr 2024 11:49:10 +0000 (14:49 +0300)] 
accessMoved

15 months agolegacyUninitvar
gtsoul-tech [Tue, 23 Apr 2024 11:48:58 +0000 (14:48 +0300)] 
legacyUninitvar

15 months agofuncArgOrderDifferent
gtsoul-tech [Tue, 23 Apr 2024 11:48:51 +0000 (14:48 +0300)] 
funcArgOrderDifferent

15 months agoredundantContinue
gtsoul-tech [Tue, 23 Apr 2024 11:48:35 +0000 (14:48 +0300)] 
redundantContinue

15 months agocomparisonOfBoolWithBoolError
gtsoul-tech [Tue, 23 Apr 2024 11:48:12 +0000 (14:48 +0300)] 
comparisonOfBoolWithBoolError

15 months agouseInitializationList
gtsoul-tech [Tue, 23 Apr 2024 11:47:21 +0000 (14:47 +0300)] 
useInitializationList

15 months agounsignedLessThanZero cppcheck
gtsoul-tech [Tue, 23 Apr 2024 09:27:43 +0000 (12:27 +0300)] 
unsignedLessThanZero cppcheck

15 months agoaccessMoved cppcheck error
gtsoul-tech [Tue, 23 Apr 2024 09:15:12 +0000 (12:15 +0300)] 
accessMoved cppcheck error

15 months agoMerge pull request #250 from isildur-g/static-fat-dispatch
Konstantinos Margaritis [Tue, 23 Apr 2024 08:11:21 +0000 (11:11 +0300)] 
Merge pull request #250 from isildur-g/static-fat-dispatch

static dispatch for fat runtimes. eliminates the need for ifunc.

15 months agoMerge branch 'develop' into static-fat-dispatch 250/head
g. economou [Tue, 23 Apr 2024 07:40:47 +0000 (10:40 +0300)] 
Merge branch 'develop' into static-fat-dispatch

15 months agoremoved LD_LIBRARY_PATH comment from readme
Gregory Economou [Mon, 22 Apr 2024 09:07:15 +0000 (12:07 +0300)] 
removed LD_LIBRARY_PATH comment from readme

15 months agoMerge pull request #246 from isildur-g/bugfix-242
Konstantinos Margaritis [Fri, 19 Apr 2024 13:26:37 +0000 (16:26 +0300)] 
Merge pull request #246 from isildur-g/bugfix-242

the rpath hack is only needed on arm

15 months agostatic dispatch for fat runtimes. eliminates the need for ifunc.
Gregory Economou [Fri, 19 Apr 2024 09:32:00 +0000 (12:32 +0300)] 
static dispatch for fat runtimes. eliminates the need for ifunc.

15 months agotiny change to readme 246/head
G.E. [Thu, 18 Apr 2024 13:16:06 +0000 (16:16 +0300)] 
tiny change to readme

15 months agoMerge pull request #248 from VectorCamp/feature/update-simde
Konstantinos Margaritis [Thu, 18 Apr 2024 08:26:45 +0000 (11:26 +0300)] 
Merge pull request #248 from VectorCamp/feature/update-simde

Update SIMDe

15 months agoreadme edit
G.E. [Wed, 17 Apr 2024 20:03:09 +0000 (23:03 +0300)] 
readme edit

15 months agoMerge pull request #247 from gtsoul-tech/bugfix/#245
Konstantinos Margaritis [Wed, 17 Apr 2024 18:32:21 +0000 (21:32 +0300)] 
Merge pull request #247 from gtsoul-tech/bugfix/#245

gcc-14 compilation fix Closes:#245

15 months agoUpdate SIMDe 248/head
Konstantinos Margaritis [Wed, 17 Apr 2024 14:23:11 +0000 (17:23 +0300)] 
Update SIMDe

15 months agoenable the rpath hack on all gcc13, and on arm/gcc12
G.E. [Wed, 17 Apr 2024 12:40:52 +0000 (15:40 +0300)] 
enable the rpath hack on all gcc13, and on arm/gcc12

15 months agoclang-format revert 247/head
gtsoul-tech [Wed, 17 Apr 2024 10:55:42 +0000 (13:55 +0300)] 
clang-format revert

15 months agogcc-14 compilation fix Closes:#245
gtsoul-tech [Wed, 17 Apr 2024 10:33:48 +0000 (13:33 +0300)] 
gcc-14 compilation fix Closes:#245

15 months agothe rpath hack is only needed on arm
G.E. [Wed, 17 Apr 2024 08:33:00 +0000 (11:33 +0300)] 
the rpath hack is only needed on arm

15 months agoMerge pull request #232 from isildur-g/develop
Konstantinos Margaritis [Wed, 17 Apr 2024 05:59:49 +0000 (08:59 +0300)] 
Merge pull request #232 from isildur-g/develop

minor changes to build in BSD (Net and Free)

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 agoMerge pull request #237 from gtsoul-tech/feature/microbenchmarkingCSV
Konstantinos Margaritis [Tue, 2 Apr 2024 14:33:28 +0000 (17:33 +0300)] 
Merge pull request #237 from gtsoul-tech/feature/microbenchmarkingCSV

Microbenchmarking tool changed color output to csv output

16 months agooutput tabulated and csv 237/head
gtsoul-tech [Tue, 2 Apr 2024 11:56:27 +0000 (14:56 +0300)] 
output tabulated and csv

16 months agochange first column name csv
gtsoul-tech [Tue, 2 Apr 2024 10:32:51 +0000 (13:32 +0300)] 
change first column name csv

16 months agoremoved color output code
gtsoul-tech [Tue, 2 Apr 2024 08:28:00 +0000 (11:28 +0300)] 
removed color output code

16 months agochanged color output to csv output
gtsoul-tech [Mon, 1 Apr 2024 13:05:13 +0000 (16:05 +0300)] 
changed color output to csv output

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 agoMerge pull request #235 from VectorCamp/revert-234-feature/add-wider-sheng-implementa...
Konstantinos Margaritis [Tue, 19 Mar 2024 11:24:27 +0000 (13:24 +0200)] 
Merge pull request #235 from VectorCamp/revert-234-feature/add-wider-sheng-implementation-on-arm

Revert "RFC Enable sheng32/64 for SVE"

16 months agoRevert "RFC Enable sheng32/64 for SVE" 235/head
Konstantinos Margaritis [Tue, 19 Mar 2024 09:40:23 +0000 (11:40 +0200)] 
Revert "RFC Enable sheng32/64 for SVE"

16 months agoMerge pull request #234 from ypicchi-arm/feature/add-wider-sheng-implementation-on-arm
Konstantinos Margaritis [Thu, 14 Mar 2024 19:58:42 +0000 (21:58 +0200)] 
Merge pull request #234 from ypicchi-arm/feature/add-wider-sheng-implementation-on-arm

RFC Enable sheng32/64 for SVE

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 agoMerge pull request #231 from jlinton/develop-add-man-pages
Konstantinos Margaritis [Tue, 12 Mar 2024 08:34:09 +0000 (10:34 +0200)] 
Merge pull request #231 from jlinton/develop-add-man-pages

Add man page generation, change man section, update docs to reflect name change, and couple other tweaks

16 months agoMerge pull request #233 from bradlarsen/develop
Konstantinos Margaritis [Tue, 12 Mar 2024 08:05:52 +0000 (10:05 +0200)] 
Merge pull request #233 from bradlarsen/develop

Add CMake options for more build granularity

16 months agoEnable sheng32/64 for SVE 234/head
Yoan Picchi [Thu, 15 Feb 2024 13:51:19 +0000 (13:51 +0000)] 
Enable sheng32/64 for SVE

Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
16 months agohsbench: Update test program output 231/head
Jeremy Linton [Tue, 20 Feb 2024 21:01:40 +0000 (15:01 -0600)] 
hsbench: Update test program output

While fixing the documentation, it was noticed that the hsbench
output was still referring to the project as Hyperscan.
Lets correct it.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
16 months agopkgconfig: Correct library description
Jeremy Linton [Tue, 20 Feb 2024 19:48:05 +0000 (13:48 -0600)] 
pkgconfig: Correct library description

Correct the description in the pkgconfig file, but
leave the name alone as we want to remain compatible
with projects utilizing hyperscan.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
16 months agodocumentation: Replace project name with Vectorscan and general updates
Jeremy Linton [Thu, 15 Feb 2024 21:13:20 +0000 (15:13 -0600)] 
documentation: Replace project name with Vectorscan and general updates

The generated documentation continues to refer to Hyperscan
despite the project now being VectorScan. Lets replace many
of the Hyperscan references with Vectorscan.

At the same time, lets resync the documentation here with the
vectorscan readme. This updates the supported platforms/compilers
and build options.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
16 months agodocumentation: Update project name and copyright
Jeremy Linton [Thu, 15 Feb 2024 20:51:11 +0000 (14:51 -0600)] 
documentation: Update project name and copyright

The project name in the documentation should probably
be updated to reflect that this is vectorscan. Update
the copyright too.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
16 months agodocumentation: Add cmake option to build man pages
Jeremy Linton [Thu, 15 Feb 2024 20:39:42 +0000 (14:39 -0600)] 
documentation: Add cmake option to build man pages

Man pages tend to be preferred in some circles, lets add an
option to build the vectorscan documentation that way.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
16 months agoAdd CMake options for more build granularity 233/head
Brad Larsen [Wed, 6 Mar 2024 21:32:12 +0000 (16:32 -0500)] 
Add CMake options for more build granularity

This adds three new CMake options, all defaulting to true, making it
possible to opt-out of building parts of Vectorscan that are not
essential for deployment of the matching runtime.

These new options:

- `BUILD_UNIT`: control whether the `unit` directory is included
- `BUILD_DOC`: control whether the `doc` directory is included
- `BUILD_TOOLS`: control whether the `tools` directory is included

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