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

   it seems `VectorMask.cast` is also guarded by `UseSVE` on arm: 
   
https://github.com/openjdk/jdk/blob/5edd546585d66f52c2e894ed212ee67945fe0785/src/hotspot/cpu/aarch64/aarch64_vector_ad.m4#L3949-L3957
   
   As for amd64, we still only need to check the vector bit-size ? (and maybe 
also the `UseAVX` flag >= 2 ? as uwe said before )
   
https://github.com/openjdk/jdk/blob/bcd86d575fe0682a234228c18b0c2e817d3816da/src/hotspot/cpu/x86/x86.ad#L1424-L1427
   
   and 
   
https://github.com/openjdk/jdk/blob/bcd86d575fe0682a234228c18b0c2e817d3816da/src/hotspot/cpu/x86/x86.ad#L1735-L1738
   
   


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