2019-05-30 10:20:56 +00:00
|
|
|
// Copyright 2018 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2020-01-09 20:02:56 +00:00
|
|
|
// +build !386,!amd64,!amd64p32,!arm64
|
2019-05-30 10:20:56 +00:00
|
|
|
|
|
|
|
package cpu
|
|
|
|
|
2020-09-04 21:29:13 +00:00
|
|
|
func archInit() {
|
2020-01-09 20:02:56 +00:00
|
|
|
if err := readHWCAP(); err != nil {
|
2019-06-16 21:33:25 +00:00
|
|
|
return
|
2019-05-30 10:20:56 +00:00
|
|
|
}
|
|
|
|
doinit()
|
2019-06-16 21:33:25 +00:00
|
|
|
Initialized = true
|
2019-05-30 10:20:56 +00:00
|
|
|
}
|