github.com/primecitizens/pcz/std@v0.2.1/core/mem/features_arm64.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build pcz && arm64 5 6 package mem 7 8 import ( 9 "github.com/primecitizens/pcz/std/core/cpu" 10 ) 11 12 var arm64UseAlignedLoads bool 13 14 func init() { 15 arm64UseAlignedLoads = cpu.ARM64.HasAll(cpu.ARM64Feature_is_neoversen1 | cpu.ARM64Feature_is_zeus) 16 }