github.com/primecitizens/pcz/std@v0.2.1/core/mem/features_386.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build pcz && 386 5 6 package mem 7 8 import "github.com/primecitizens/pcz/std/core/cpu" 9 10 var ( 11 hasERMS bool // required by memclr & memmove 12 ) 13 14 func init() { 15 hasERMS = cpu.X86.HasAll(cpu.X86Feature_erms) 16 }