diff --git a/lucene/core/src/java20/org/apache/lucene/internal/vectorization/PanamaVectorUtilSupport.java b/lucene/core/src/java20/org/apache/lucene/internal/vectorization/PanamaVectorUtilSupport.java index b54136b69fa..5b382c4c7c2 100644 --- a/lucene/core/src/java20/org/apache/lucene/internal/vectorization/PanamaVectorUtilSupport.java +++ b/lucene/core/src/java20/org/apache/lucene/internal/vectorization/PanamaVectorUtilSupport.java @@ -107,7 +107,7 @@ final class PanamaVectorUtilSupport implements VectorUtilSupport { } // true if we know FMA is supported, to deliver less error - private static final boolean HAS_FAST_FMA = hasFastFMA(); + static final boolean HAS_FAST_FMA = hasFastFMA(); // the way FMA should work! if available use it, otherwise fall back to mul/add private static FloatVector fma(FloatVector a, FloatVector b, FloatVector c) { diff --git a/lucene/core/src/java20/org/apache/lucene/internal/vectorization/PanamaVectorizationProvider.java b/lucene/core/src/java20/org/apache/lucene/internal/vectorization/PanamaVectorizationProvider.java index b47bf802097..fc303a687a0 100644 --- a/lucene/core/src/java20/org/apache/lucene/internal/vectorization/PanamaVectorizationProvider.java +++ b/lucene/core/src/java20/org/apache/lucene/internal/vectorization/PanamaVectorizationProvider.java @@ -60,8 +60,9 @@ final class PanamaVectorizationProvider extends VectorizationProvider { log.info( String.format( Locale.ENGLISH, - "Java vector incubator API enabled; uses preferredBitSize=%d%s", + "Java vector incubator API enabled; uses preferredBitSize=%d%s%s", PanamaVectorUtilSupport.VECTOR_BITSIZE, + PanamaVectorUtilSupport.HAS_FAST_FMA ? "; FMA enabled" : "", PanamaVectorUtilSupport.HAS_FAST_INTEGER_VECTORS ? "" : "; floating-point vectors only"));