Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | x86: Optimize strchr-evex.S | Noah Goldstein | 2021-04-25 | 1 | -174/+218 |
| | | | | | | | | | | No bug. This commit optimizes strchr-evex.S. The optimizations are mostly small things such as save an ALU in the alignment process, saving a few instructions in the loop return. The one significant change is saving 2 instructions in the 4x loop. test-strchr, test-strchrnul, test-wcschr, and test-wcschrnul are all passing. Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com> | ||||
* | x86-64: Add ifunc-avx2.h functions with 256-bit EVEX | H.J. Lu | 2021-03-29 | 1 | -0/+335 |
Update ifunc-avx2.h, strchr.c, strcmp.c, strncmp.c and wcsnlen.c to select the function optimized with 256-bit EVEX instructions using YMM16-YMM31 registers to avoid RTM abort with usable AVX512VL, AVX512BW and BMI2 since VZEROUPPER isn't needed at function exit. For strcmp/strncmp, prefer AVX2 strcmp/strncmp if Prefer_AVX2_STRCMP is set. |