Skip to content

Commit cd890a7

Browse files
docs: describe SIMD-enabled release binaries
1 parent 5248418 commit cd890a7

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ brew install sgrep
3232
sgrep setup
3333
```
3434

35+
Prebuilt x86_64 releases include Go 1.27's experimental portable SIMD TQ
36+
rotation kernels; Apple Silicon releases use NEON assembly. No runtime
37+
configuration is needed.
38+
3539
See the [installation guide](https://xiaocui.me/sgrep/guides/getting-started/)
3640
for curl, Go, source builds, and sqlite-vec.
3741

‎docs/content/guides/getting-started.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ go build -o sgrep ./cmd/sgrep
3434
Source builds require Go 1.27 or later. Prebuilt Intel macOS binaries support
3535
macOS 13 Ventura or later; Apple Silicon binaries require macOS 15.5 or later.
3636

37-
Go 1.27's experimental portable SIMD kernels can be enabled for source builds
38-
on non-ARM64 systems. ARM64 builds continue to use the faster NEON assembly:
37+
Prebuilt x86_64 releases installed by Homebrew or the install script include
38+
Go 1.27's experimental portable SIMD TQ rotation kernels. ARM64 releases use
39+
NEON assembly, and neither installation needs runtime configuration. Dense dot
40+
products retain float64 scalar accumulation for score compatibility.
41+
42+
Enable the same portable SIMD kernels for a non-ARM64 source build with:
3943

4044
```bash
4145
GOEXPERIMENT=simd go build -o sgrep ./cmd/sgrep

0 commit comments

Comments
 (0)