diff options
| author | Alberto Donizetti <alb.donizetti@gmail.com> | 2020-11-08 09:44:33 +0100 |
|---|---|---|
| committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2020-11-08 12:19:55 +0000 |
| commit | 7307e86afda3c5c7f6158d2469c39606fd1dba65 (patch) | |
| tree | 5f56492bb5c8c9ade686ce403fbf529b52a88f39 /test/codegen/bits.go | |
| parent | afe7c8d0b25f26f0abd749ca52c7e1e7dfdee8cb (diff) | |
| download | go-7307e86afda3c5c7f6158d2469c39606fd1dba65.tar.xz | |
test/codegen: go fmt
Fixes #42445
Change-Id: I9653ef094dba2a1ac2e3daaa98279d10df17a2a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/268257
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Trust: Martin Möhrmann <moehrmann@google.com>
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Martin Möhrmann <moehrmann@google.com>
Diffstat (limited to 'test/codegen/bits.go')
| -rw-r--r-- | test/codegen/bits.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/codegen/bits.go b/test/codegen/bits.go index 56e0f3474e..4508eba487 100644 --- a/test/codegen/bits.go +++ b/test/codegen/bits.go @@ -344,11 +344,11 @@ func bitSetTest(x int) bool { // mask contiguous one bits func cont1Mask64U(x uint64) uint64 { // s390x:"RISBGZ\t[$]16, [$]47, [$]0," - return x&0x0000ffffffff0000 + return x & 0x0000ffffffff0000 } // mask contiguous zero bits func cont0Mask64U(x uint64) uint64 { // s390x:"RISBGZ\t[$]48, [$]15, [$]0," - return x&0xffff00000000ffff + return x & 0xffff00000000ffff } |
