uschindler commented on PR #14896: URL: https://github.com/apache/lucene/pull/14896#issuecomment-3063828693
> To move this forward, I believe that we should try to add detection of `UseSVE` and AVX2 to `Constants.java`, then a `HAS_FAST_COMPRESS` constant (akin to `HAS_FAST_VECTOR_FMA`), and finally replace the check on the number of lanes in `PanamaVectorUtil` with a check on this new constant? UseSVE should be easy to detect in the same way like that: https://github.com/apache/lucene/blob/633bb1c68edf7a63885396e5e504c439d92dea92/lucene/core/src/java/org/apache/lucene/util/Constants.java#L93-L95 For AVX, I think you have to parse the option as integer and compare `>=2` or like that. -- 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