Skip to content

Commit 7dceabd

Browse files
bevzzzgopherbot
authored andcommitted
runtime/maps: fix typo in group.go comment (instrinsified -> intrinsified)
Several comments refer to bitset as 'instrinsified', which is likely a typo, because it refers to the output of the intrinsics implemented with SIMD. Change-Id: I00f26b8d8128592ee0e9dc8a1b1480c93a9542d6 GitHub-Last-Rev: 8a42367 GitHub-Pull-Request: #74624 Reviewed-on: https://go-review.googlesource.com/c/go/+/688016 Reviewed-by: Keith Randall <[email protected]> Auto-Submit: Keith Randall <[email protected]> Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent d826bf4 commit 7dceabd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/internal/runtime/maps/group.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func (g ctrlGroup) matchH2(h uintptr) bitset {
157157
// Portable implementation of matchH2.
158158
//
159159
// Note: On AMD64, this is an intrinsic implemented with SIMD instructions. See
160-
// note on bitset about the packed instrinsified return value.
160+
// note on bitset about the packed intrinsified return value.
161161
func ctrlGroupMatchH2(g ctrlGroup, h uintptr) bitset {
162162
// NB: This generic matching routine produces false positive matches when
163163
// h is 2^N and the control bytes have a seq of 2^N followed by 2^N+1. For
@@ -179,7 +179,7 @@ func (g ctrlGroup) matchEmpty() bitset {
179179
// Portable implementation of matchEmpty.
180180
//
181181
// Note: On AMD64, this is an intrinsic implemented with SIMD instructions. See
182-
// note on bitset about the packed instrinsified return value.
182+
// note on bitset about the packed intrinsified return value.
183183
func ctrlGroupMatchEmpty(g ctrlGroup) bitset {
184184
// An empty slot is 1000 0000
185185
// A deleted slot is 1111 1110
@@ -200,7 +200,7 @@ func (g ctrlGroup) matchEmptyOrDeleted() bitset {
200200
// Portable implementation of matchEmptyOrDeleted.
201201
//
202202
// Note: On AMD64, this is an intrinsic implemented with SIMD instructions. See
203-
// note on bitset about the packed instrinsified return value.
203+
// note on bitset about the packed intrinsified return value.
204204
func ctrlGroupMatchEmptyOrDeleted(g ctrlGroup) bitset {
205205
// An empty slot is 1000 0000
206206
// A deleted slot is 1111 1110
@@ -219,7 +219,7 @@ func (g ctrlGroup) matchFull() bitset {
219219
// Portable implementation of matchFull.
220220
//
221221
// Note: On AMD64, this is an intrinsic implemented with SIMD instructions. See
222-
// note on bitset about the packed instrinsified return value.
222+
// note on bitset about the packed intrinsified return value.
223223
func ctrlGroupMatchFull(g ctrlGroup) bitset {
224224
// An empty slot is 1000 0000
225225
// A deleted slot is 1111 1110

0 commit comments

Comments
 (0)