Source file src/runtime/cpuflags_arm64.go
1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package runtime 6 7 import ( 8 "internal/cpu" 9 ) 10 11 var arm64UseAlignedLoads bool 12 13 func init() { 14 if cpu.ARM64.IsNeoverse { 15 arm64UseAlignedLoads = true 16 } 17 } 18