Commit Graph

2065 Commits

Author SHA1 Message Date
Yoan Picchi
a23b3c9ea4 Enable sheng32/64 for SVE
Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
2024-03-11 12:46:08 +00:00
Jeremy Linton
bb93c79e28 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>
2024-03-07 17:55:47 -06:00
Jeremy Linton
263fc2081b 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>
2024-03-07 17:55:47 -06:00
Jeremy Linton
96c5512f95 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>
2024-03-07 17:55:47 -06:00
Jeremy Linton
cf622f7a0b 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>
2024-03-07 17:55:47 -06:00
Jeremy Linton
f51c705780 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>
2024-03-07 17:55:47 -06:00
Brad Larsen
f39db59b7b 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
2024-03-06 16:32:12 -05:00
isildur-g
642b0e92fa maybe netbsd is more pedantic about this? 2024-03-06 17:05:55 +01:00
isildur-g
2e897ad4a8 lets not disable warnings 2024-03-06 16:39:34 +01:00
isildur-g
739dd200ac more readme format tinkering 2024-03-06 15:53:03 +01:00
isildur-g
d40367fad8 formatting in readme 2024-03-06 15:50:26 +01:00
G.E.
67452eebe3 minor change for more certain success in netbsd 2024-03-06 15:28:20 +01:00
G.E.
c0784c4aa5 lets rather not add lines of code not yet used anywhere 2024-03-06 14:57:28 +01:00
G.E.
8835b34221 updated readme to reflect FreeBSD build 2024-03-06 12:31:35 +01:00
G.E.
205bcbb060 support building on NetBSD 2024-03-06 10:48:56 +01:00
Konstantinos Margaritis
2523208e08 Merge pull request #229 from ProBrian/bugfix/pcre_check_error
fix the pcre versio check error on clang 16
2024-01-29 20:26:57 +02:00
Jingbo Chen
ea261fe26f fix the pcre versio check error on clang 16 2024-01-29 10:50:16 +08:00
Konstantinos Margaritis
a4d1779945 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.
2024-01-20 22:41:00 +02:00
Konstantinos Margaritis
a2ef385e1a remove unused warning exceptions 2024-01-20 19:52:31 +02:00
Konstantinos Margaritis
27726c2f6a Revert "fix more unused-variable warnings"
This reverts commit afb1a1705f.
2024-01-20 17:46:29 +02:00
Konstantinos Margaritis
5276f66b17 Revert "fix unused-variable warning"
This reverts commit ac02b589be.
2024-01-20 17:46:29 +02:00
Konstantinos Margaritis
85925923c5 add -Wno-deprecate-lax-vec-conv-all on clang 15 for Power only 2024-01-20 17:45:56 +02:00
Konstantinos Margaritis
cac6d8e14d Revert "don't demand 32/64-byte alignment if there is no 256/512-bit SIMD engine"
This reverts commit 719e1c9be6.
2024-01-19 17:41:40 +02:00
Konstantinos Margaritis
7a2179c793 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 9134cd6250.
2024-01-19 15:23:11 +02:00
Konstantinos Margaritis
69b3b31345 -Wno-pass-failed is only for ppc64le 2024-01-19 11:23:17 +02:00
Konstantinos Margaritis
7b928cf35e use snprintf() instead 2024-01-18 23:40:38 +02:00
Konstantinos Margaritis
eeeae733e4 add needed deprecation warning exceptions for SIMDe on Power VSX 2024-01-18 23:37:59 +02:00
Konstantinos Margaritis
60dde08d81 remove unused constants 2024-01-18 22:08:19 +02:00
Konstantinos Margaritis
55240d94c7 set x86-64-v2 as baseline arch for fat runtime 2024-01-18 22:08:05 +02:00
Konstantinos Margaritis
eb46ba6530 use x86-64-v2 as default x86 arch for SIMDe 2024-01-18 21:24:38 +02:00
Konstantinos Margaritis
c2b07005c1 Merge pull request #226 from ypicchi-arm/opti/remove_unused_instruction_truffle_sve
Make the match component of SVE truffle constant time
2024-01-18 21:20:47 +02:00
Konstantinos Margaritis
e53ee861cd don't demand 32/64-byte alignment if there is no 256/512-bit SIMD engine 2024-01-18 18:37:27 +02:00
Yoan Picchi
6652d4a837 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>
2024-01-18 11:53:45 +00:00
Konstantinos Margaritis
026663f0fd WIP: after cleaning up the code, remove the warnings from compilation flags 2024-01-18 00:47:44 +02:00
Konstantinos Margaritis
91fa633826 use arch set in cflags-x86.cmake 2024-01-18 00:43:32 +02:00
Konstantinos Margaritis
1425fa7a57 fix some build misconfigurations on x86 2024-01-18 00:43:11 +02:00
Konstantinos Margaritis
9bb2243858 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 2024-01-18 00:42:36 +02:00
Konstantinos Margaritis
fdc067861e check the correct define 2024-01-18 00:41:56 +02:00
Konstantinos Margaritis
a5a5818d73 add info message 2024-01-18 00:41:23 +02:00
Konstantinos Margaritis
7368004f71 WIP: only keep the absolutely necessary warning exceptions 2024-01-17 17:18:12 +02:00
Konstantinos Margaritis
8aebaa742f initialize variable 2024-01-17 17:16:02 +02:00
Konstantinos Margaritis
f3b9af09c9 remove redundant moves 2024-01-17 17:15:32 +02:00
Konstantinos Margaritis
f399dfa586 remove unused constant 2024-01-17 17:13:51 +02:00
Konstantinos Margaritis
30e0537e75 fix more unused-variable warnings 2024-01-17 17:03:19 +02:00
Konstantinos Margaritis
75fff43b96 remove unused variable 2024-01-17 17:02:32 +02:00
Konstantinos Margaritis
d491124302 fix unused-variable warning 2024-01-17 17:02:08 +02:00
Konstantinos Margaritis
ba1d86c12b set default x86 architecture to baseline 2024-01-17 17:00:47 +02:00
Konstantinos Margaritis
4c5e46b17e Merge pull request #219 from VectorCamp/bugfix/make-sqlite-optional
Make sqlite optional, use OS installed
2024-01-15 16:57:11 +02:00
Konstantinos Margaritis
1f86541c82 make pkgconf not a hard requirement 2024-01-15 13:17:20 +02:00
Konstantinos Margaritis
07d0e8a72c Merge pull request #221 from VectorCamp/bugfix/bug202-unit-internal
Do not assume unit-internal is built for unit target
2024-01-11 16:26:01 +02:00