]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
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 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

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

20 months agoadd missing intrinsics for SIMDe backend
Konstantnos Margaritis [Thu, 23 Nov 2023 16:08:26 +0000 (16:08 +0000)] 
add missing intrinsics for SIMDe backend

20 months agofix test for SIMDe
Konstantnos Margaritis [Thu, 23 Nov 2023 16:07:58 +0000 (16:07 +0000)] 
fix test for SIMDe

20 months agoSIMDE is a valid platform
Konstantnos Margaritis [Thu, 23 Nov 2023 13:07:28 +0000 (13:07 +0000)] 
SIMDE is a valid platform

20 months agoadd include dirs
Konstantnos Margaritis [Tue, 21 Nov 2023 17:14:21 +0000 (17:14 +0000)] 
add include dirs

20 months agoadd generic tune flags
Konstantnos Margaritis [Tue, 21 Nov 2023 17:13:54 +0000 (17:13 +0000)] 
add generic tune flags

20 months agoenable SIMDe backend
Konstantnos Margaritis [Tue, 21 Nov 2023 17:13:33 +0000 (17:13 +0000)] 
enable SIMDe backend

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

20 months agomofidied .gitmodules
Konstantnos Margaritis [Tue, 21 Nov 2023 17:11:09 +0000 (17:11 +0000)] 
mofidied .gitmodules

20 months agoadd SIMDe cmake file
Konstantnos Margaritis [Tue, 21 Nov 2023 17:09:48 +0000 (17:09 +0000)] 
add SIMDe cmake file

20 months agoadd SIMDe git submodule
Konstantnos Margaritis [Tue, 21 Nov 2023 17:09:24 +0000 (17:09 +0000)] 
add SIMDe git submodule

20 months agoAdd SIMDe backend to CMake
Konstantnos Margaritis [Tue, 21 Nov 2023 17:06:22 +0000 (17:06 +0000)] 
Add SIMDe backend to CMake

20 months agoMerge pull request #200 from VectorCamp/bugfix/install-static-libs 201/head
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

20 months 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)

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

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

20 months agoMerge pull request #196 from VectorCamp/feature/prepare-5.4.11 197/head
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

20 months agoexpand on build-deps installation feature/prepare-5.4.11 196/head
Konstantinos Margaritis [Sun, 19 Nov 2023 18:00:06 +0000 (20:00 +0200)] 
expand on build-deps installation

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

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

20 months 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

20 months 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

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

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

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

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

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

20 months 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

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

20 months agoMerge pull request #191 from VectorCamp/bugfix/fix-segfault-arm-sve2 192/head
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

20 months agoMove VERM16 enums to the end of the list 191/head
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.

21 months 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

21 months 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

21 months agoCorrect set_source_files_properties usage 189/head
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.

21 months agomake pkgconfig a requirement 188/head
Konstantinos Margaritis [Tue, 31 Oct 2023 10:38:07 +0000 (10:38 +0000)] 
make pkgconfig a requirement

21 months 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

21 months 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

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

21 months 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

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

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

21 months 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

21 months 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

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

21 months 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

21 months agofix cmake refactor for arm builds
Konstantinos Margaritis [Mon, 9 Oct 2023 10:03:53 +0000 (10:03 +0000)] 
fix cmake refactor for arm builds

21 months agofix default arch/tune flags for ppc64le
Konstantinos Margaritis [Sun, 8 Oct 2023 21:44:12 +0000 (00:44 +0300)] 
fix default arch/tune flags for ppc64le

21 months agofix x86 fat binary build
Konstantinos Margaritis [Sun, 8 Oct 2023 21:42:39 +0000 (00:42 +0300)] 
fix x86 fat binary build

21 months agofix sqlite3 version detection
Konstantinos Margaritis [Sun, 8 Oct 2023 21:23:29 +0000 (00:23 +0300)] 
fix sqlite3 version detection

21 months agofix cflags detection for x86
Konstantinos Margaritis [Sun, 8 Oct 2023 21:23:08 +0000 (00:23 +0300)] 
fix cflags detection for x86

21 months agofix defaults for -march for x86
Konstantinos Margaritis [Sun, 8 Oct 2023 21:22:52 +0000 (00:22 +0300)] 
fix defaults for -march for x86

21 months agoincrease cmake_minimum_version, basically the one in Debian 11
Konstantinos Margaritis [Sun, 8 Oct 2023 21:22:31 +0000 (00:22 +0300)] 
increase cmake_minimum_version, basically the one in Debian 11

21 months agoadd missing file
Konstantinos Margaritis [Sun, 8 Oct 2023 20:54:06 +0000 (23:54 +0300)] 
add missing file

21 months agoWIP: Refactor CMake build system to more modular
Konstantinos Margaritis [Sun, 8 Oct 2023 20:26:07 +0000 (23:26 +0300)] 
WIP: Refactor CMake build system to more modular

21 months agoSVE2 needs armv9-a, fix build
Konstantinos Margaritis [Sat, 7 Oct 2023 16:00:42 +0000 (00:00 +0800)] 
SVE2 needs armv9-a, fix build

21 months agoadd src/nfa/vermicelli_simd.cpp to ppc64le
Konstantinos Margaritis [Sat, 7 Oct 2023 15:02:00 +0000 (18:02 +0300)] 
add src/nfa/vermicelli_simd.cpp to ppc64le

21 months agoinclude extra sources for Arm on non-fat builds
Konstantinos Margaritis [Sat, 7 Oct 2023 14:27:26 +0000 (22:27 +0800)] 
include extra sources for Arm on non-fat builds

21 months agoadd missing file
Konstantinos Margaritis [Sat, 7 Oct 2023 09:10:06 +0000 (12:10 +0300)] 
add missing file

21 months agoadd cpuid_flags to ppc64le as well
Konstantinos Margaritis [Sat, 7 Oct 2023 09:06:47 +0000 (12:06 +0300)] 
add cpuid_flags to ppc64le as well

21 months agore-add missing file to x86 builds
Konstantinos Margaritis [Sat, 7 Oct 2023 08:44:57 +0000 (11:44 +0300)] 
re-add missing file to x86 builds

21 months agofix fat & normal build errors on arm
Konstantinos Margaritis [Fri, 6 Oct 2023 22:17:18 +0000 (06:17 +0800)] 
fix fat & normal build errors on arm

21 months agodetect arm_sve.h when using clang on fat runtime builds
Konstantinos Margaritis [Fri, 6 Oct 2023 12:46:24 +0000 (20:46 +0800)] 
detect arm_sve.h when using clang on fat runtime builds

21 months agoremove extra print
Konstantinos Margaritis [Fri, 6 Oct 2023 09:08:36 +0000 (12:08 +0300)] 
remove extra print

21 months ago__builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now
Konstantinos Margaritis [Fri, 6 Oct 2023 08:44:41 +0000 (11:44 +0300)] 
__builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now

21 months agoReduce debug unit tests runtime even more
Konstantinos Margaritis [Thu, 5 Oct 2023 16:12:38 +0000 (19:12 +0300)] 
Reduce debug unit tests runtime even more
In single.cpp featuremask with AVX512 features is not relevant to non-x86 platforms,
and just extends the runtime for no reason.

22 months agoDon't run regression UE_2595 on debug, it times out CI
Konstantinos Margaritis [Thu, 5 Oct 2023 07:40:30 +0000 (10:40 +0300)] 
Don't run regression UE_2595 on debug, it times out CI

22 months agouse the right type of cast
Konstantinos Margaritis [Wed, 4 Oct 2023 20:35:10 +0000 (23:35 +0300)] 
use the right type of cast

22 months agoclang 16 as well
Konstantinos Margaritis [Wed, 4 Oct 2023 19:07:34 +0000 (22:07 +0300)] 
clang 16 as well

22 months agomissed one pragma
Konstantinos Margaritis [Wed, 4 Oct 2023 17:54:57 +0000 (20:54 +0300)] 
missed one pragma

22 months agouse the conditional in the right way
Konstantinos Margaritis [Wed, 4 Oct 2023 17:35:58 +0000 (20:35 +0300)] 
use the conditional in the right way

22 months agoadd conditional for __clang__
Konstantinos Margaritis [Wed, 4 Oct 2023 17:28:35 +0000 (20:28 +0300)] 
add conditional for __clang__