Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opt](arm)Remove negative optimizations of SSE2NEON on memcmp for ARM… (
apache#43510) … (apache#38759) apache#38759 The main issue is that _mm_movemask_epi8 does not have a one-to-one corresponding instruction on ARM. Testing shows that it performs worse compared to using memcmp, which allows the compiler to generate the corresponding ARM instructions. The following tests were conducted on ARM. ``` -------------------------------------------------------------- Benchmark Time CPU Iterations -------------------------------------------------------------- BM_memequal16_sse 3.77 ns 3.77 ns 743238946 BM_memequal16_orgin 2.11 ns 2.11 ns 1000000000 ```
- Loading branch information