Source File
cpuid.go
Belonging Package
github.com/tetratelabs/wazero/internal/platform
package platform// CpuFeatureFlags exposes methods for querying CPU capabilitiestype CpuFeatureFlags uint64const (// CpuFeatureAmd64SSE4_1 is the flag to query CpuFeatureFlags.Has for SSEv4.1 capabilities on amd64CpuFeatureAmd64SSE4_1 = 1 << iota// CpuFeatureAmd64BMI1 is the flag to query CpuFeatureFlags.Has for Bit Manipulation Instruction Set 1 (e.g. TZCNT) on amd64CpuFeatureAmd64BMI1// CpuExtraFeatureABM is the flag to query CpuFeatureFlags.Has for Advanced Bit Manipulation capabilities (e.g. LZCNT) on amd64CpuFeatureAmd64ABM)const (// CpuFeatureArm64Atomic is the flag to query CpuFeatureFlags.Has for Large System Extensions capabilities on arm64CpuFeatureArm64Atomic CpuFeatureFlags = 1 << iota)func ( CpuFeatureFlags) ( CpuFeatureFlags) bool {return & != 0}func ( CpuFeatureFlags) () uint64 {return uint64()}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |