From 7dceabd3be3d119bb2539030e0e824ad85a10202 Mon Sep 17 00:00:00 2001 From: dyma solovei <53943884+bevzzz@users.noreply.github.com> Date: Tue, 15 Jul 2025 12:21:38 +0000 Subject: [PATCH] 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: 8a4236710979f2f969210e0b261bdb9ae44f3321 GitHub-Pull-Request: golang/go#74624 Reviewed-on: https://go-review.googlesource.com/c/go/+/688016 Reviewed-by: Keith Randall Auto-Submit: Keith Randall Reviewed-by: Cherry Mui LUCI-TryBot-Result: Go LUCI Reviewed-by: Keith Randall --- src/internal/runtime/maps/group.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/internal/runtime/maps/group.go b/src/internal/runtime/maps/group.go index 5fd87218d1..faafbc951a 100644 --- a/src/internal/runtime/maps/group.go +++ b/src/internal/runtime/maps/group.go @@ -157,7 +157,7 @@ func (g ctrlGroup) matchH2(h uintptr) bitset { // Portable implementation of matchH2. // // Note: On AMD64, this is an intrinsic implemented with SIMD instructions. See -// note on bitset about the packed instrinsified return value. +// note on bitset about the packed intrinsified return value. func ctrlGroupMatchH2(g ctrlGroup, h uintptr) bitset { // NB: This generic matching routine produces false positive matches when // 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 { // Portable implementation of matchEmpty. // // Note: On AMD64, this is an intrinsic implemented with SIMD instructions. See -// note on bitset about the packed instrinsified return value. +// note on bitset about the packed intrinsified return value. func ctrlGroupMatchEmpty(g ctrlGroup) bitset { // An empty slot is 1000 0000 // A deleted slot is 1111 1110 @@ -200,7 +200,7 @@ func (g ctrlGroup) matchEmptyOrDeleted() bitset { // Portable implementation of matchEmptyOrDeleted. // // Note: On AMD64, this is an intrinsic implemented with SIMD instructions. See -// note on bitset about the packed instrinsified return value. +// note on bitset about the packed intrinsified return value. func ctrlGroupMatchEmptyOrDeleted(g ctrlGroup) bitset { // An empty slot is 1000 0000 // A deleted slot is 1111 1110 @@ -219,7 +219,7 @@ func (g ctrlGroup) matchFull() bitset { // Portable implementation of matchFull. // // Note: On AMD64, this is an intrinsic implemented with SIMD instructions. See -// note on bitset about the packed instrinsified return value. +// note on bitset about the packed intrinsified return value. func ctrlGroupMatchFull(g ctrlGroup) bitset { // An empty slot is 1000 0000 // A deleted slot is 1111 1110 -- 2.50.0