Repository navigation
Conversation
r-devulap
requested review from
MarkWolters,
ashkrisk,
jshook and
tlwillke
as code owners
October 13, 2026 01:59
Contributor
|
Before you submit for review:
If you did not complete any of these, then please explain below. |
…amming_distance native SIMD kernels
r-devulap
force-pushed
the
hwy-kernels
branch
from
October 13, 2026 02:01
77adbf6 to
faf23ce
Compare
jshook
approved these changes
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented native C++ Google Highway SIMD kernels for:
min_f32, sum_f32, scale_f32, sub_f32/sub_scalar_f32, and hamming_distancein jvector_simd_kernels.cpp, eliminating Panama Java Vector API fallbacks for. These kernels vectorize horizontal reductions, in-place scaling, out-of-place subtraction, and 64-bit population count across all x86-64 (SSE4.2 to AVX-512) and AArch64 (NEON, SVE, SVE2) tiers, and are wired to NativeVectorUtilSupport.java through critical Java FFM bindings with unit tests in test_elementwise.cpp and release symbol verification in verify_native_lib.sh.Commits Breakdown
7661442: Added kernel declarations in
jvector_simd_kernel_list.hand Highway SIMD implementations injvector_simd_kernels.cpp.89bca21: Added GoogleTest suites covering boundary and tail matrix sizes (1 to 255 elements) for all new kernels in
test_elementwise.cpp.368d949: Regenerated
jextractJava FFM bindings withLinker.Option.critical(true)downcall handles inNativeSimdOps.java.bf6288d: Added all newly exported kernel symbols to
REQUIRED_SYMBOLSinverify_native_lib.sh.77adbf6: Connected Java calls in
NativeVectorUtilSupport.javato invokeNativeSimdOpsfor both off-heapMemorySegmentbuffers and on-heap arrays.