]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
2 years agoredundantInitialization
gtsoul-tech [Wed, 24 Apr 2024 09:40:55 +0000 (12:40 +0300)] 
redundantInitialization

2 years 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.

2 years agoshiftTooManyBitsSigned
gtsoul-tech [Wed, 24 Apr 2024 08:13:28 +0000 (11:13 +0300)] 
shiftTooManyBitsSigned

2 years agouninitvar
gtsoul-tech [Wed, 24 Apr 2024 08:13:02 +0000 (11:13 +0300)] 
uninitvar

2 years agoinvalidPrintfArgType_sint
gtsoul-tech [Wed, 24 Apr 2024 08:07:23 +0000 (11:07 +0300)] 
invalidPrintfArgType_sint

2 years 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

2 years agoremoved another commented line
G.E [Tue, 23 Apr 2024 21:06:08 +0000 (00:06 +0300)] 
removed another commented line

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

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

2 years 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.

2 years agoaccessMoved
gtsoul-tech [Tue, 23 Apr 2024 11:49:10 +0000 (14:49 +0300)] 
accessMoved

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

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

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

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

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

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

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

2 years 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.

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

2 years 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

2 years 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

2 years 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.

2 years agotiny change to readme
G.E. [Thu, 18 Apr 2024 13:16:06 +0000 (16:16 +0300)] 
tiny change to readme

2 years 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

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

2 years 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

2 years agoUpdate SIMDe
Konstantinos Margaritis [Wed, 17 Apr 2024 14:23:11 +0000 (17:23 +0300)] 
Update SIMDe

2 years 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

2 years agoclang-format revert
gtsoul-tech [Wed, 17 Apr 2024 10:55:42 +0000 (13:55 +0300)] 
clang-format revert

2 years 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

2 years 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

2 years 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)

2 years agoremoving the dispatcher.c changes from this branch/PR
G.E. [Tue, 16 Apr 2024 14:43:11 +0000 (17:43 +0300)] 
removing the dispatcher.c changes from this branch/PR

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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.

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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

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

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

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

2 years 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

2 years 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

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

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

2 years 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

2 years 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.

2 years 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.

2 years 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"

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

2 years 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

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

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

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

2 years 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

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

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

2 years 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

2 years 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

2 years agoEnable sheng32/64 for SVE
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>
2 years agohsbench: Update test program output
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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years agoAdd CMake options for more build granularity
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

2 years 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?

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

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

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

2 years 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

2 years 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

2 years 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

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

2 years 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

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

2 years 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.

2 years agoremove unused warning exceptions
Konstantinos Margaritis [Sat, 20 Jan 2024 17:52:31 +0000 (19:52 +0200)] 
remove unused warning exceptions

2 years 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.

2 years 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.

2 years 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

2 years 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.

2 years 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.

2 years 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

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

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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