package cpuid

Import Path
	github.com/segmentio/asm/cpu/cpuid (on go.dev)

Dependency Relation
	imports 0 packages, and imported by 3 packages

Involved Source Files Package cpuid provides generic types used to represent CPU features supported by the architecture.
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
CPU is a bitset of feature flags representing the capabilities of various CPU architeectures that this package provides optimized assembly routines for. The intent is to provide a stable ABI between the Go code that generate the assembly, and the program that uses the library functions. ( CPU) Has(feature Feature) bool (*CPU) Set(feature Feature, enabled bool)
Feature represents a single CPU feature. func CPU.Has(feature Feature) bool func (*CPU).Set(feature Feature, enabled bool) const All const None
Package-Level Constants (total 2, both are exported)
All is a Feature value that has all CPU features enabled.
None is a Feature value that has no CPU features enabled.