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

   > > > With the updated compile flags, the performance of auto-vectorized 
code is slightly better than explicitly vectorized code (see results). 
Interesting thing to note is that both C-based implementations have `10X` 
better throughout compared to the Panama API based java implementation (unless 
I am not doing apples-to-apples comparison).
   > > 
   > > 
   > > This seems correct to me.
   > 
   > Same. The performance benefit is large here. We do similar in 
Elasticsearch, and have impls for both AArch64 and x64. I remember @rmuir 
making a similar comment before about the auto-vectorization - which is 
correct. I avoided it at the time given the toolchain that we were using, but 
it's a good option which I'll reevaluate.
   > 
   > 
https://github.com/elastic/elasticsearch/blob/main/libs/simdvec/native/src/vec/c/aarch64/vec.c
   > 
   > > The java Vector API is not performant for the integer case. Hotspot 
doesn't much understand ARM at all and definitely doesn't even have 
instructions such as `SDOT` in its vocabulary at all.
   > 
   > ++ Yes. This is not a good state of affairs. I'll make sure to get an 
issue filed with OpenJDK for it.
   
   Thanks Chris. Please share the link to OpenJDK issue when you get a chance.


-- 
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