mirror of
https://github.com/apache/lucene.git
synced 2025-03-06 16:29:30 +00:00
Add link to OpenJDK JIRA issue for VectorUtil::xorBitCount
This commit is contained in:
parent
ceb4539609
commit
4baaedaa67
@ -215,8 +215,8 @@ public final class VectorUtil {
|
|||||||
/**
|
/**
|
||||||
* For xorBitCount we stride over the values as either 64-bits (long) or 32-bits (int) at a time.
|
* For xorBitCount we stride over the values as either 64-bits (long) or 32-bits (int) at a time.
|
||||||
* On ARM Long::bitCount is not vectorized, and therefore produces less than optimal code, when
|
* On ARM Long::bitCount is not vectorized, and therefore produces less than optimal code, when
|
||||||
* compared to Integer::bitCount. While Long::bitCount is optimal on x64. TODO: include the
|
* compared to Integer::bitCount. While Long::bitCount is optimal on x64. See
|
||||||
* OpenJDK JIRA url
|
* https://bugs.openjdk.org/browse/JDK-8336000
|
||||||
*/
|
*/
|
||||||
static final boolean XOR_BIT_COUNT_STRIDE_AS_INT = Constants.OS_ARCH.equals("aarch64");
|
static final boolean XOR_BIT_COUNT_STRIDE_AS_INT = Constants.OS_ARCH.equals("aarch64");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user