]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
simd/archsimd: reword documentation of shfit operations
authorCherry Mui <cherryyz@google.com>
Wed, 17 Dec 2025 16:00:36 +0000 (11:00 -0500)
committerCherry Mui <cherryyz@google.com>
Wed, 17 Dec 2025 21:38:56 +0000 (13:38 -0800)
commitad91f5d241f3b8e85dc866d0087c3f13af96ef33
tree2543d5a059ccdb4109443d8732b155c11dd9729b
parentb8c4cc63e77bd457dffa6ec83a3ff65382dac94b
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-on: https://go-review.googlesource.com/c/go/+/730720
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/simd/archsimd/_gen/simdgen/ops/ShiftRotate/categories.yaml
src/simd/archsimd/ops_amd64.go