]> Cypherpunks repositories - gostls13.git/commit
test/codegen: tighten the TrailingZeros64 test on 386
authorJoel Sing <joel@sing.id.au>
Wed, 26 Feb 2025 10:03:15 +0000 (21:03 +1100)
committerGopher Robot <gobot@golang.org>
Fri, 14 Mar 2025 22:04:38 +0000 (15:04 -0700)
commitc1c7e5902fda622d5d5870ed045407a9acd5666b
treec2bc34b2293fdace59d12d651eaec83f64d9bb2d
parent577bb3d0ce576b2ca311e58dd942f189838b80fc
test/codegen: tighten the TrailingZeros64 test on 386

Make the TrailingZeros64 code generation check more specific for 386.
Just checking for BSFL will match both the generic 64 bit decomposition
and the custom 386 lowering.

Change-Id: I62076f1889af0ef1f29704cba01ab419cae0c6e3
Reviewed-on: https://go-review.googlesource.com/c/go/+/656996
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
test/codegen/mathbits.go