chore, change accu bits to 64

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use intel's manual cpu dispatcher

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, actually rinse the counters beforehand

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, recast routines meant to be unsigned straight away, ...

this avoids sign expansion for ints with the highest bit set into long ints

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
cosmetics, rearrange isolwify params in the order we're used to

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, trial, zero out bobs of the input buffer that aren't multiples of __BITS

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide isolw fixup code for pattern bits on the boundaries

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, make accuify() take bit-blob size parameters in multiples of __BITS (just like its AZ param)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, move accuify() cpu dispatcher into glep-guts.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, index needs counting over __mXi multiples

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, also perform match processing on the last hunk

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Revert "hygiene, make accuify() take bit-blob size parameters in multiples of __BITS (just like its AZ param)" etc.

This reverts commit 9d2136fabba45e9611018d49cbe034d5e6ac3abc.

The new policy should definitely be to hand in actual byte counts,
which translate to bit counts, to all routines in the processing
phase.
minor, keep promise to hand in nrd (number of buf-bytes/accu-bits) to matching routines

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, actually process overhanging bits in accuify() so kick final drain in co_snarf()

This will mask out/in the bits that were overhanging in the
puncs and pat accumulators.

However, the way it's coded at the moment makes it possible to
count some occurrences of patterns twice, once when they're in the
hangover portion of an underutilitised buffer (read() returned
less bytes than the buffer could take) and then again when the
(seemingly) unprocessed bytes are moved to the beginning of the
buffer and handed to the processor again.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, localise the counters (VLA in match0()) and move isolwify() to glep-guts.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, actually show patterns/pattokens as a result in glep2(1)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, modern gcc's have _popcnt*() in ia32intrin.h, include x86intrin.h catchall in that case

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, lose the conditional for glep2 building again

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'tool/glep'

* tool/glep:
  chore, lose the conditional for glep2 building again
  chore, modern gcc's have _popcnt*() in ia32intrin.h, include x86intrin.h catchall in that case
  minor, actually show patterns/pattokens as a result in glep2(1)
  minor, localise the counters (VLA in match0()) and move isolwify() to glep-guts.c
  minor, actually process overhanging bits in accuify() so kick final drain in co_snarf()
  minor, keep promise to hand in nrd (number of buf-bytes/accu-bits) to matching routines
  Revert "hygiene, make accuify() take bit-blob size parameters in multiples of __BITS (just like its AZ param)" etc.
  minor, also perform match processing on the last hunk
  fix, PEBKAC, index needs counting over __mXi multiples
  hygiene, move accuify() cpu dispatcher into glep-guts.c
  hygiene, make accuify() take bit-blob size parameters in multiples of __BITS (just like its AZ param)
  minor, provide isolw fixup code for pattern bits on the boundaries
  minor, trial, zero out bobs of the input buffer that aren't multiples of __BITS
  cosmetics, rearrange isolwify params in the order we're used to
  fix, PEBKAC, recast routines meant to be unsigned straight away, ...
  fix, actually rinse the counters beforehand
  minor, use intel's manual cpu dispatcher
  chore, change accu bits to 64