rmuir commented on PR #13572:
URL: https://github.com/apache/lucene/pull/13572#issuecomment-2236739249

   Here is my proposal visually: https://godbolt.org/z/a9T8YrroY
   
   As you can see, by passing  `-march=cascadelake` it generates VNNI 
instructions.
   IMO, no need for any intrinsics anywhere, for x86 nor ARM. Just a 
dead-simple C function and being smart about which targets we compile for.
   
   (these variants should all be benchmarked of course first)
   


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to