Black Lives Matter. Support the Equal Justice Initiative.

Source file src/runtime/cpuflags_arm64.go

Documentation: runtime

     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.IsNeoverseN1 || cpu.ARM64.IsZeus {
    15  		arm64UseAlignedLoads = true
    16  	}
    17  }
    18  

View as plain text