]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
22 months agouse snprintf() instead
Konstantinos Margaritis [Thu, 18 Jan 2024 20:25:29 +0000 (22:25 +0200)] 
use snprintf() instead

22 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

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

22 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

22 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

22 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

23 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

23 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

23 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

23 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

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

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

23 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

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

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

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

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

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

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

23 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

23 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

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

23 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

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

23 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

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

23 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

23 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

23 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

23 months agoAdd truffle SVE implementation
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>
23 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

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

23 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.

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

23 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

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

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

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

23 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

23 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

23 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

23 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

23 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

23 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

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

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

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

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

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

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

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

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

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

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

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

2 years agoexisting scalar implementations were incorrect -but never tested, ported from arm...
Konstantinos Margaritis [Thu, 23 Nov 2023 16:09:10 +0000 (16:09 +0000)] 
existing scalar implementations were incorrect -but never tested, ported from arm/ppc64le

2 years agoadd missing intrinsics for SIMDe backend
Konstantinos Margaritis [Thu, 23 Nov 2023 16:08:26 +0000 (16:08 +0000)] 
add missing intrinsics for SIMDe backend

2 years agofix test for SIMDe
Konstantinos Margaritis [Thu, 23 Nov 2023 16:07:58 +0000 (16:07 +0000)] 
fix test for SIMDe

2 years agoSIMDE is a valid platform
Konstantinos Margaritis [Thu, 23 Nov 2023 13:07:28 +0000 (13:07 +0000)] 
SIMDE is a valid platform

2 years agoadd include dirs
Konstantinos Margaritis [Tue, 21 Nov 2023 17:14:21 +0000 (17:14 +0000)] 
add include dirs

2 years agoadd generic tune flags
Konstantinos Margaritis [Tue, 21 Nov 2023 17:13:54 +0000 (17:13 +0000)] 
add generic tune flags

2 years agoenable SIMDe backend
Konstantinos Margaritis [Tue, 21 Nov 2023 17:13:33 +0000 (17:13 +0000)] 
enable SIMDe backend

2 years agoadd SIMDe ports of simd_utils and supervector
Konstantinos Margaritis [Tue, 21 Nov 2023 17:12:04 +0000 (17:12 +0000)] 
add SIMDe ports of simd_utils and supervector

2 years agomofidied .gitmodules
Konstantinos Margaritis [Tue, 21 Nov 2023 17:11:09 +0000 (17:11 +0000)] 
mofidied .gitmodules

2 years agoadd SIMDe cmake file
Konstantinos Margaritis [Tue, 21 Nov 2023 17:09:48 +0000 (17:09 +0000)] 
add SIMDe cmake file

2 years agoadd SIMDe git submodule
Konstantinos Margaritis [Tue, 21 Nov 2023 17:09:24 +0000 (17:09 +0000)] 
add SIMDe git submodule

2 years agoAdd SIMDe backend to CMake
Konstantinos Margaritis [Tue, 21 Nov 2023 17:06:22 +0000 (17:06 +0000)] 
Add SIMDe backend to CMake

2 years agoMerge pull request #200 from VectorCamp/bugfix/install-static-libs
Konstantinos Margaritis [Tue, 21 Nov 2023 09:46:29 +0000 (11:46 +0200)] 
Merge pull request #200 from VectorCamp/bugfix/install-static-libs

fix missing installation of static libs

2 years agoMerge pull request #199 from gliwka/fix-missing-hs-version-header
Konstantinos Margaritis [Tue, 21 Nov 2023 09:46:00 +0000 (11:46 +0200)] 
Merge pull request #199 from gliwka/fix-missing-hs-version-header

Fix missing hs_version.h header (closes #198)

2 years agofix missing installation of static libs
Konstantinos Margaritis [Mon, 20 Nov 2023 20:39:12 +0000 (22:39 +0200)] 
fix missing installation of static libs

2 years agofix missing hs_version.h header (closes #198)
Matthias Gliwka [Mon, 20 Nov 2023 17:19:03 +0000 (19:19 +0200)] 
fix missing hs_version.h header (closes #198)

2 years agoMerge pull request #196 from VectorCamp/feature/prepare-5.4.11
Konstantinos Margaritis [Mon, 20 Nov 2023 05:37:14 +0000 (07:37 +0200)] 
Merge pull request #196 from VectorCamp/feature/prepare-5.4.11

Feature/prepare 5.4.11

2 years agoexpand on build-deps installation
Konstantinos Margaritis [Sun, 19 Nov 2023 18:00:06 +0000 (20:00 +0200)] 
expand on build-deps installation

2 years agoadd sanitizer flags
Konstantinos Margaritis [Sun, 19 Nov 2023 17:53:02 +0000 (19:53 +0200)] 
add sanitizer flags

2 years agomore changes to readme
Konstantinos Margaritis [Sun, 19 Nov 2023 17:37:06 +0000 (19:37 +0200)] 
more changes to readme

2 years agocross-compiling is not tested, removed
Konstantinos Margaritis [Sun, 19 Nov 2023 17:24:59 +0000 (19:24 +0200)] 
cross-compiling is not tested, removed

2 years agoif none are set build static
Konstantinos Margaritis [Sun, 19 Nov 2023 17:18:23 +0000 (19:18 +0200)] 
if none are set build static

2 years agoadditions to readme
Konstantinos Margaritis [Sun, 19 Nov 2023 15:57:08 +0000 (17:57 +0200)] 
additions to readme

2 years agoadd contributors file
Konstantinos Margaritis [Sun, 19 Nov 2023 13:32:45 +0000 (15:32 +0200)] 
add contributors file

2 years agoadd changelog entry
Konstantinos Margaritis [Sun, 19 Nov 2023 13:32:36 +0000 (15:32 +0200)] 
add changelog entry

2 years agoUpdate Readme file
Konstantinos Margaritis [Sun, 19 Nov 2023 08:24:51 +0000 (10:24 +0200)] 
Update Readme file

2 years agobump version
Konstantinos Margaritis [Sun, 19 Nov 2023 08:24:32 +0000 (10:24 +0200)] 
bump version

2 years agoDon't build fat runtime with native CPU detection
Konstantinos Margaritis [Sun, 19 Nov 2023 08:24:13 +0000 (10:24 +0200)] 
Don't build fat runtime with native CPU detection

2 years agoremove Jenkinsfile
Konstantinos Margaritis [Sun, 19 Nov 2023 08:23:39 +0000 (10:23 +0200)] 
remove Jenkinsfile

2 years agoMerge pull request #191 from VectorCamp/bugfix/fix-segfault-arm-sve2
Konstantinos Margaritis [Fri, 17 Nov 2023 12:38:01 +0000 (14:38 +0200)] 
Merge pull request #191 from VectorCamp/bugfix/fix-segfault-arm-sve2

Move VERM16 enums to the end of the list

2 years agoMove VERM16 enums to the end of the list
Konstantinos Margaritis [Thu, 16 Nov 2023 19:50:30 +0000 (03:50 +0800)] 
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.

2 years agoMerge pull request #189 from mlmitch/develop
Konstantinos Margaritis [Wed, 1 Nov 2023 09:35:36 +0000 (11:35 +0200)] 
Merge pull request #189 from mlmitch/develop

Correct set_source_files_properties usage

2 years agoMerge pull request #188 from VectorCamp/bugfix/require-pkg-config
Konstantinos Margaritis [Tue, 31 Oct 2023 17:09:35 +0000 (19:09 +0200)] 
Merge pull request #188 from VectorCamp/bugfix/require-pkg-config

make pkgconfig a requirement

2 years agoCorrect set_source_files_properties usage
Mitchell Wasson [Tue, 31 Oct 2023 15:09:48 +0000 (09:09 -0600)] 
Correct set_source_files_properties usage

The use of `CMAKE_BINARY_DIR` and `CMAKE_CURRENT_BINARY_DIR` when
specifying files to set_source_files_properties caused problems
when this project is used from another CMake project.

More specifically, these variables aren't set to the expected path,
and the properties are attempted to be set for non-existant files.

This was benign before vectorscan 5.4.8 as the only properties
set were warning suppression flags.

Starting with 5.4.9, `-funsigned-char` was applied to Ragel outputs
using this method. The result is projects depending on Vectorscan
through Cmake do not have this compile flag properly applied.

2 years agomake pkgconfig a requirement
Konstantinos Margaritis [Tue, 31 Oct 2023 10:38:07 +0000 (10:38 +0000)] 
make pkgconfig a requirement

2 years agoMerge pull request #186 from VectorCamp/bugfix/fix-compilation-arm-ubuntu-20.04
Konstantinos Margaritis [Wed, 25 Oct 2023 10:53:44 +0000 (13:53 +0300)] 
Merge pull request #186 from VectorCamp/bugfix/fix-compilation-arm-ubuntu-20.04

Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180

2 years agoMerge pull request #185 from VectorCamp/bugfix/fix-inconsistent-version-header
Konstantinos Margaritis [Wed, 11 Oct 2023 16:52:22 +0000 (19:52 +0300)] 
Merge pull request #185 from VectorCamp/bugfix/fix-inconsistent-version-header

Fix version getting out of sync #175

2 years agoUbuntu 20.04 gcc does not define HWCAP2_SVE2 #180
Konstantinos Margaritis [Tue, 10 Oct 2023 10:30:12 +0000 (18:30 +0800)] 
Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180

2 years agoMerge pull request #181 from VectorCamp/bugfix/fix-clang15-compilation-errors
Konstantinos Margaritis [Tue, 10 Oct 2023 10:14:10 +0000 (13:14 +0300)] 
Merge pull request #181 from VectorCamp/bugfix/fix-clang15-compilation-errors

Fix clang 15,16 compilation errors on all platforms, refactor CMake build system

2 years agofix default arch definition for non fat builds on arm
Konstantinos Margaritis [Mon, 9 Oct 2023 16:55:02 +0000 (00:55 +0800)] 
fix default arch definition for non fat builds on arm

2 years agoset default value
Konstantinos Margaritis [Mon, 9 Oct 2023 12:38:19 +0000 (20:38 +0800)] 
set default value

2 years agoSVE2 is armv9-a but gcc 11 does not recognize that
Konstantinos Margaritis [Mon, 9 Oct 2023 12:02:37 +0000 (20:02 +0800)] 
SVE2 is armv9-a but gcc 11 does not recognize that

2 years agoremove vermicelli_simd.cpp to fix redefinition build failure on SVE2 builds
Konstantinos Margaritis [Mon, 9 Oct 2023 12:01:26 +0000 (20:01 +0800)] 
remove vermicelli_simd.cpp to fix redefinition build failure on SVE2 builds

2 years agoremove unneeded option
Konstantinos Margaritis [Mon, 9 Oct 2023 10:26:08 +0000 (10:26 +0000)] 
remove unneeded option

2 years ago is not known at that stage
Konstantinos Margaritis [Mon, 9 Oct 2023 10:16:40 +0000 (10:16 +0000)] 
 is not known at that stage