HUSTERGS commented on PR #14896:
URL: https://github.com/apache/lucene/pull/14896#issuecomment-3068817251

   Sorry for the late reply, I'm a little busy these days.
   I tried to look into the jdk source code, as Robert said before, in the arm 
situation, `compress` is guarded by UseSVE, which is an integer range from 0 to 
2. 
   We need to parse the flag and check if it is none-zero value, I think this 
will be enough for the arm
   
https://github.com/openjdk/jdk/blob/99c299f0985c8be63b9b60e589db520d83fd8033/src/hotspot/cpu/aarch64/globals_aarch64.hpp#L104-L106
   
   As for the AVX, I'm little bit confused by the source code, it seems we only 
need to check wheather the prefered vector size is higher than or equal to 
256-bits ? 
   
   
https://github.com/openjdk/jdk/blob/99c299f0985c8be63b9b60e589db520d83fd8033/src/hotspot/cpu/x86/x86.ad#L9488-L9528
   
   Hope I'm not getting anything wrong, I'll try to implement these logic if 
it's correct, and check if the VectorMask.cast causes any extra trouble


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