Commit 041c9886f1 for golang
commit 041c9886f112f8300a38e8cde85bc00154727f71
Author: Austin Clements <austin@google.com>
Date: Tue Dec 1 12:30:38 2026 -0500
simd/internal/spec: gofmt
Change-Id: Ie7109a0a381ddccf883ae67cd99e73df6a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/868841
Auto-Submit: Austin Clements <austin@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
diff --git a/src/simd/internal/spec/masks.go b/src/simd/internal/spec/masks.go
index af5e186b15..149eb7f478 100644
--- a/src/simd/internal/spec/masks.go
+++ b/src/simd/internal/spec/masks.go
@@ -137,6 +137,7 @@ func First[E MaskElt, W Width](x Vec[E, W]) (z Vec[E, W]) {
}
return z
}
+
// Next returns a one-hot mask with the lowest true element of x that is above
// the highest true element of cursor, or an all-false mask if there is no such
// element. If cursor has no true elements, it returns a one-hot mask with the
diff --git a/src/simd/internal/spec/math.go b/src/simd/internal/spec/math.go
index 27f4821c27..ccb1f65626 100644
--- a/src/simd/internal/spec/math.go
+++ b/src/simd/internal/spec/math.go
@@ -474,6 +474,7 @@ func MulSign[E Ints, W Width](x, y Vec[E, W]) (z Vec[E, W]) {
return x
})
}
+
// Neg returns the elementwise negation of x.
//
// z[i] = -x[i]