[go] simd/archsimd: reword documentation of shfit operations

1 view
Skip to first unread message

Cherry Mui (Gerrit)

unread,
Dec 17, 2025, 4:38:59 PM (2 days ago) Dec 17
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, David Chase, Go LUCI, golang-co...@googlegroups.com

Cherry Mui submitted the change

Change information

Commit message:
simd/archsimd: reword documentation of shfit operations

Say the name of the parameter, instead of "the immediate".

Don't say "Emptied bits are zeroed", which is implied by the shift
operation in Go (and perhaps many other languages). For right
shifts, say signed or unsigned shifts instead.
Change-Id: I29c9c0e218bfaeef55b03d92d44762e34f006654
Reviewed-by: David Chase <drc...@google.com>
Files:
  • M src/simd/archsimd/_gen/simdgen/ops/ShiftRotate/categories.yaml
  • M src/simd/archsimd/ops_amd64.go
Change size: L
Delta: 2 files changed, 218 insertions(+), 218 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by David Chase
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I29c9c0e218bfaeef55b03d92d44762e34f006654
Gerrit-Change-Number: 730720
Gerrit-PatchSet: 2
Gerrit-Owner: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: David Chase <drc...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages