Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop to master #124

Merged
merged 41 commits into from
Sep 13, 2022
Merged

Merge develop to master #124

merged 41 commits into from
Sep 13, 2022

Conversation

markos
Copy link

@markos markos commented Sep 13, 2022

Prepare for next release, many changes/fixes, namely:

  • Backport bug fixes from Intel Hyperscan
  • Many Arm NEON optimizations, incl. movemask optimization by Danila Kutenin.
  • Power VSX optimizations
  • Other minor changes

danilak-G and others added 30 commits June 26, 2022 22:55
This optimization is based on the thread
https://twitter.com/Danlark1/status/1539344279268691970 and uses
shift right and narrow by 4 instruction https://developer.arm.com/documentation/ddi0596/2020-12/SIMD-FP-Instructions/SHRN--SHRN2--Shift-Right-Narrow--immediate--

To achieve that, I needed to redesign a little movemask into comparemask
and have an additional step towards mask iteration. Our benchmarks
showed 10-15% improvement on average for long matches.
Optimize vectorscan for aarch64 by using shrn instruction
Fixed the PCRE download location
Throw std::bad_alloc instead of returning nullptr from
ue2::AlignedAllocator. Allocators for STL containers are expected never
to return with an invalid pointer, and instead must throw on failure.
Violating this expectation can lead to invalid pointer dereferences.

Co-authored-by: johanngan <[email protected]>

fixes github issue #317 (PR #320)
@markos markos merged commit 361feb6 into master Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants