532 Commits

Author SHA1 Message Date
Justin Viiret
7e3d56579b eod: stop passing both scratch and state around 2016-07-08 10:54:07 +10:00
Matthew Barr
c7212a7478 Only omit frame pointers on 32bit release builds
Frame pointers are very useful for debugging and testing, and only
really make a difference to performance on IA32.
2016-07-08 10:50:08 +10:00
Justin Viiret
08d44fbed5 fdr: remove unused typedef 'ConfirmIndex' 2016-07-08 10:50:03 +10:00
Justin Viiret
ad74f3b895 fdr: use braced init syntax for pairs 2016-07-08 10:49:59 +10:00
Justin Viiret
b8cd169cde teddy compile: rename loop var for readability 2016-07-08 10:49:56 +10:00
Justin Viiret
bae7a072ca TeddySet: doesn't need a reference to lits 2016-07-08 10:49:52 +10:00
Justin Viiret
d626cb68e0 fdr_confirm_compile: clean up debugging code 2016-07-08 10:49:48 +10:00
Justin Viiret
37e7c96424 teddy_compile: modernise 2016-07-08 10:49:45 +10:00
Justin Viiret
88e6485e75 fdr_compile: tidy up 2016-07-08 10:49:42 +10:00
Justin Viiret
466fc940e5 fdr_streaming_compile: modernise loops, etc 2016-07-08 10:49:38 +10:00
Justin Viiret
57cd2331f5 fdr/teddy: switch over remaining smart ptrs 2016-07-08 10:49:35 +10:00
Justin Viiret
aebbd4f169 setupFullMultiConfs: return smart ptr 2016-07-08 10:49:31 +10:00
Justin Viiret
9953a026f8 setupFDRFloodControl: return smart ptr 2016-07-08 10:49:27 +10:00
Justin Viiret
81880d5a8d fdr_confirm_compile: clean up for loops, iterators 2016-07-08 10:49:24 +10:00
Justin Viiret
139a472af0 fdr_confirm_compile: typedef -> using 2016-07-08 10:49:20 +10:00
Justin Viiret
69653aaec5 fdr_confirm_compile: use smart ptrs 2016-07-08 10:49:17 +10:00
Justin Viiret
964fc22b1a fdr_compile_internal: remove unused decl
getFDRConfirm() is static.
2016-07-08 10:49:12 +10:00
Justin Viiret
ea62ba107f unit: make multiaccel tests deterministic
Use a PRNG, not rand().
2016-07-08 10:47:33 +10:00
Justin Viiret
8e4c68e9df rose: eagerly report EOD literal matches
Where possible, eagerly report a match when a literal that matches at
EOD occurs, rather than setting a state bit and waiting for EOD
processing.
2016-07-08 10:47:33 +10:00
Justin Viiret
9dddb4efc3 ng_equivalence: reduce compile time on large cases 2016-07-08 10:47:33 +10:00
Alex Coyte
0548a6d995 use edge index to avoid assoc property maps 2016-07-08 10:47:33 +10:00
Justin Viiret
1df4da16ad rose: parameterise CHECK_LIT_EARLY 2016-07-08 10:47:33 +10:00
Justin Viiret
7690881f85 rose: make assignGroupsToLiterals a free function 2016-07-08 10:47:08 +10:00
Justin Viiret
89dbbe6c53 rose: make assignGroupsToRoles a free function 2016-07-08 10:47:08 +10:00
Justin Viiret
de201997b7 rose_build_groups: move findGroupSquashers 2016-07-08 10:47:07 +10:00
Justin Viiret
70ef229b2b rose_build_groups: move getGroups, getSuccGroups 2016-07-08 10:47:07 +10:00
Justin Viiret
42419a26d2 rose_build_groups: move assignGroupsToRoles 2016-07-08 10:47:07 +10:00
Justin Viiret
2b24000b1a rose_build_groups: move assignGroupsToLiterals 2016-07-08 10:47:07 +10:00
Justin Viiret
c2496fbf76 rose: elide SET_GROUPS when possible 2016-07-08 10:47:07 +10:00
Justin Viiret
6a6b0e5da6 rose: Do HWLM advisory masks as a complete pass 2016-07-08 10:46:57 +10:00
Justin Viiret
beec5e59df rose: linear scan for lookaround during build
This allows us to reuse more lookaround entries in the bytecode.
2016-07-08 10:46:54 +10:00
Alex Coyte
a8aa2d022f Provide access to scratch in queues
This largely reverts commit f8ecf33236b0695d9539e8e34cf0bb0467614cdf.
2016-07-08 10:46:50 +10:00
Alex Coyte
cb7067f59d Prevent trying to build smallwrite engine for large cases 2016-07-08 10:46:46 +10:00
Alex Coyte
b097cb1b53 use the correct way to refer to void * 2016-07-08 10:45:06 +10:00
Alex Coyte
afd378b09e UE-2963: be more aggressive in using buildSufPQ_final() 2016-07-08 10:45:06 +10:00
Justin Viiret
6e49544558 exhaust: move functions to report.h 2016-07-08 10:45:06 +10:00
Justin Viiret
9b7eca5400 rose: dump leftfix/suffix queue indices 2016-07-08 10:44:56 +10:00
Boris Nagaev
6d87533ef0 fix add_to_engine_blob for iterator=pointer 2016-07-06 19:46:41 +03:00
Boris Nagaev
ba45bd34d6 fix iter_wrapper for iterator=pointer 2016-07-06 19:46:25 +03:00
Matthew Barr
e3e0a0fab0 Merge branch develop into master v4.2.0 2016-06-01 11:09:05 +10:00
Matthew Barr
212ed92ac5 Bump version number for release 2016-06-01 11:04:43 +10:00
Justin Viiret
8b0e285f09 changelog: updates for 4.2 release 2016-06-01 11:04:43 +10:00
Justin Viiret
d7466ff840 docs: more detail on option setting 2016-06-01 10:57:10 +10:00
Justin Viiret
428bb9a110 doc: correct syntax for "extended" option setting
Extended syntax (ignore whitespace) is controlled with (?x) and (?-x).
2016-06-01 10:57:10 +10:00
Justin Viiret
614ca0accf rose: always push CHECK_BOUNDS onto end of program 2016-06-01 10:56:57 +10:00
Justin Viiret
9826522e34 rose: fix CHECK_NOT_HANDLED placement bug
The CHECK_NOT_HANDLED instruction was being inserted into an already
partially-flattened program, which would result in jump offsets becoming
incorrect.

This change places it as part of the normal flow of program
construction, which avoids this issue.
2016-06-01 10:56:52 +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
ca2343f98e We need an immediate so use intrinsic directly 2016-05-24 11:26:33 +10:00
Matthew Barr
d36cc9ea4c debug printf: Windows path separator 2016-05-24 11:26:31 +10:00
Matthew Barr
1d6462532a vbs: the static array has C linkage 2016-05-24 11:26:27 +10:00