Commit 42c5f399 authored by Mikio Hara's avatar Mikio Hara Committed by Brad Fitzpatrick

runtime: gofmt -w -s

Change-Id: I954b0300554786b7026996a21acfec3b6f205e75
Reviewed-on: https://go-review.googlesource.com/41512
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
Reviewed-by: default avatarMarvin Stenger <marvin.stenger94@gmail.com>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 3fa133f4
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package runtime package runtime
const ( const (
_ARM64_FEATURE_HAS_CRC32 = 0x80 _ARM64_FEATURE_HAS_CRC32 = 0x80
) )
var randomNumber uint32 var randomNumber uint32
...@@ -19,8 +19,8 @@ func archauxv(tag, val uintptr) { ...@@ -19,8 +19,8 @@ func archauxv(tag, val uintptr) {
// it as a byte array. // it as a byte array.
randomNumber = uint32(startupRandomData[4]) | uint32(startupRandomData[5])<<8 | randomNumber = uint32(startupRandomData[4]) | uint32(startupRandomData[5])<<8 |
uint32(startupRandomData[6])<<16 | uint32(startupRandomData[7])<<24 uint32(startupRandomData[6])<<16 | uint32(startupRandomData[7])<<24
case _AT_HWCAP: case _AT_HWCAP:
supportCRC32 = val & _ARM64_FEATURE_HAS_CRC32 != 0 supportCRC32 = val&_ARM64_FEATURE_HAS_CRC32 != 0
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment