42 Commits

Author SHA1 Message Date
Chang, Harry
b19a41528a Add cpu feature / target info "AVX512VBMI". 2021-01-25 14:13:13 +02:00
Zhu,Wenjun
d96f1ab505 MCSHENG64: extend to 64-state based on mcsheng 2021-01-25 14:13:13 +02:00
Chang, Harry
83d03e97c5 Fix cmake error on ICX under release mode. 2021-01-25 14:13:13 +02:00
Konstantinos Margaritis
606c53a05f fix compiler flag testcase 2020-11-24 17:55:03 +02:00
Konstantinos Margaritis
18296eee47 fix 32-bit/64-bit detection 2020-11-05 17:31:20 +02:00
Konstantinos Margaritis
5952c64066 add necessary modifications to CMake system to enable building on ARM, add arm_neon.h intrinsic header to intrinsics.h 2020-10-06 12:44:23 +03:00
Konstantinos Margaritis
b1170bcc2e add arm checks in platform.cmake 2020-10-06 08:09:18 +03:00
Chang, Harry
43204dda48 AVX512VBMI Teddy. 2020-05-25 13:47:53 +00:00
Wang, Xiang W
f0bde3721e build: avoid file path impact on fat runtime build
Fixes github issue #137
2019-03-26 10:16:13 -04:00
Chang, Harry
f13cbd692e Update PCRE version to 8.42 (8.41 is also compatible) 2019-01-21 09:56:50 +08:00
Wang, Xiang W
bf87f8c003 chimera: hybrid of Hyperscan and PCRE 2018-07-09 11:30:35 -04:00
Wang, Xiang W
5895b8da25 build: enable hscollider for installed PCRE package
Fixes github issue #86
2018-06-27 14:04:57 +08:00
Matthew Barr
277ee016a5 pcre: do not explode if pcre is missing 2018-01-19 07:07:32 -05:00
Alex Coyte
1330265ced hscollider: tool for testing Hyperscan match behaviour against PCRE 2018-01-19 06:26:43 -05:00
Matthew Barr
193bdb628e sqlite: disable -Werror so warnings don't kill the build 2018-01-19 06:05:03 -05:00
Matthew Barr
8337d99574 build: use more portable flag for mktemp
Fixes github issue #60
2017-07-26 15:51:23 +10:00
Matthew Barr
345897f096 cpuid: exclude AVX512 flag when target not enabled
If we have a fat runtime build without AVX512 enabled, we should not
pick up the AVX512 flag from cpuid.
2017-07-26 15:51:23 +10:00
Matthew Barr
86e7acd4dd cmake: remove duplicate else() 2017-06-13 13:53:45 +10:00
Matthew Barr
73765f1f84 cmake: Improve the microarch checks 2017-06-09 10:12:02 +10:00
Matthew Barr
a6f4394959 cmake: scope fun 2017-06-09 10:12:02 +10:00
Matthew Barr
3e345c2567 If we can shift by an immediate, do it. Otherwise, don't. 2017-05-30 14:00:45 +10:00
Matthew Barr
b0a5bd8940 test for pthread_setaffinity_np
Only enable setting threads per core when available
2017-05-30 14:00:30 +10:00
Matthew Barr
ec7869711f avx512 fat runtime support: experimental 2017-05-30 13:59:23 +10:00
Matthew Barr
8a56d16d57 avx512: add basic functions to simd_utils
Extends the m512 type to use avx512 and also changes required
for limex.
2017-05-30 13:59:18 +10:00
Matthew Barr
a2dc430a38 Header guards 2017-05-30 13:59:00 +10:00
Matthew Barr
0626a30a6a Make the build wrapper less fragile
This script was failing for certain paths (dots, whitespace), and using
sed to replace parts of the command line was overkill. Do less mangling,
and quote command line args.

Fixes 01org/hyperscan#51
2017-05-30 13:57:32 +10:00
Matthew Barr
b1c57f9f54 cmake: check for libc++ directly
Rather than trying to infer libc++ use from platform and compiler, just
look for a defined symbol.
2017-04-26 15:19:52 +10:00
Matthew Barr
7533e3341e Don't fail if sqlite is not present. 2017-04-26 15:18:38 +10:00
Matthew Barr
b68e4ea336 cmake: move boost tests 2017-04-26 15:17:19 +10:00
Matthew Barr
287f519205 cmake: look for Boost in-tree first
During development we tend to use a symlink to the most recent version of
Boost from the Hyperscan source tree, so look there first.

Also, unset some cached results so we recheck when the Boost version changes.
2017-04-26 15:17:19 +10:00
Matthew Barr
b4ad7359d6 build: More robust temp file handling 2017-04-26 15:17:18 +10:00
Matthew Barr
8c2e033540 cmake: test reverse_graph instead of using version
It seems that some distros are using a patched Boost 1.62.0 which means our
workaround in reverse_graph has a conflict. Add a CMake test to see if we
need to use the patched reverse_graph.
2017-01-20 09:26:34 +11:00
Matthew Barr
5754709dd5 Don't ignore unused attrib warnings in test 2016-12-14 15:35:28 +11:00
Matthew Barr
6967c7ddf1 cmake: unneeded header check 2016-12-14 15:35:16 +11:00
Matthew Barr
c3a73446ee Fat runtime 2016-12-14 15:34:54 +11:00
Matthew Barr
f626276271 hsbench: add Hyperscan benchmarker
The hsbench tool provides an easy way to measure Hyperscan's
performance for a particular set of patterns and corpus of data
to be scanned.
2016-12-14 15:26:01 +11:00
Matthew Barr
f06f5d0702 Use SOURCE_DATE_EPOCH for timestamp if present
The Debian reproducible builds effort suggests using
this environment variable for timestamps.
2016-08-10 15:14:30 +10:00
Matthew Barr
89bc2b4b39 cmake: invoke the compiler to test arch features
We require SSSE3, and optionally support AVX2, and the best way of testing
the compiler and compile flags is to run the compiler.
2016-05-24 11:26:38 +10:00
Matthew Barr
7a6c6f46ed remove HAVE_PTHREAD_H 2016-04-20 13:34:55 +10:00
Matthew Barr
18cfd11c0f remove ENABLE_TOOLS_THREADS 2016-04-20 13:34:55 +10:00
Justin Viiret
60dcd0c160 Remove CMake tests for pthread barriers 2016-04-20 13:34:53 +10:00
Matthew Barr
904e436f11 Initial commit of Hyperscan 2015-10-20 09:13:35 +11:00