Mryange opened a new pull request, #38759:
URL: https://github.com/apache/doris/pull/38759

   ## Proposed changes
   
   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
   <!--Describe your changes.-->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to