Overview
The following functions are added to the Hyperscan version dedicated for the Kunpeng platform:
- The Kunpeng platform branch fully compatible with Armv8-A is added. In addition, the use on the x86 platform is not affected.
NEON instruction , inline assembly, data alignment, instruction alignment, memory prefetch, static branch prediction, and adjusted code structure are used to improve the performance on the Kunpeng platform.- The Kunpeng Hyperscan Enhanced Library (KHSEL) software enhancement package is released, including the KHSEL_ops and KHSEL_core sub-libraries.
- KHSEL_ops provides the ReplaceAllAcc function, which accelerates the ReplaceAll function of the C++ standard library in a fixed rule. The optimization effect can be obtained on Kunpeng 920 series processors.
- KHSEL_core optimizes the large-pattern matching algorithm FDR, small-pattern quick matching algorithm Shufti, and long-rule verification; and enhances the scan performance of Hyperscan for processing datasets such as snort_literal and snort_pcre.
For more information about Hyperscan, visit Kunpeng Gitcode.