rmuir commented on PR #13572: URL: https://github.com/apache/lucene/pull/13572#issuecomment-2236647191
> I avoided it at the time given the toolchain that we were using, but it's a good option which I'll reevaluate. It should work well with any modern gcc (@goankur uses gcc 10 here). If using clang, I think you need to add some pragmas for it, that's all, see https://llvm.org/docs/Vectorizers.html and also there are some hints in the ARM docs. One issue would be which to compile for/detect: IMO for arm there would be two good ones: * armv8.2-a+dotprod (NEON) * armv9-a (SVE) For x86 probably at most three?: * x86-64-v2 (AVX2) * x86-64-v3 (AVX512) * VNNI (should be tested but seems fit for the task? but not widespread? cascade-lake+?) -- 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