mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
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>
This commit is contained in:
parent
afe7c8d0b2
commit
7307e86afd
2 changed files with 34 additions and 34 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue